Web based file manager bundling caddy webdav and filebrowser. Great for openshift/kubernetes PVs.
455
Simple file manager for use in docker and especially with openshift/kubernetes persistent volumes.
This image is expected to be used locally, or with a sidecar or reverse proxy server. Do not expose this container directly to the internet as-is.
Missing features:
Caddyfile)Caddyfile)# build/run local example sharing repo directory on port 8080
docker compose up app
# share home directory as current user on http://localhost:8080
docker run -d \
-u `id -u` \
-v "$HOME":/data \
-p 8080:8080 \
kevineye/volume-tool
Use the included shell script to quickly run a pod that mounts a persistent volume, sets up port forwarding, opens a browser window, and cleans up after itself:
# login first
oc login ...
oc project ...
# run the script
./oc-volume-access.sh <pvc-name>
Alternately, run the commands directly:
# replace NAME_OF_PVC with volume to access
oc run volume-tool --image unused --restart Never \
--overrides '{"spec": {"containers": [ { "name": "volume-tool", "image": "kevineye/volume-tool",
"resources": { "limits": { "cpu": "100m", "memory": "64Mi" }, "requests": { "cpu": "50m", "memory": "32Mi" } },
"volumeMounts": [{ "mountPath": "/data", "name": "volume" }]
}], "volumes": [ { "name": "volume", "persistentVolumeClaim": { "claimName": "NAME_OF_PVC" } } ] }}'
# privately expose via port forwarding (much safer than a public route)
oc port-forward volume-tool 8080
open http://localhost:8080
# cleanup
oc delete pod volume-tool
Content type
Image
Digest
Size
23.1 MB
Last updated
almost 5 years ago
docker pull kevineye/volume-tool