docker创建 web文件管理
开源工具 filebrowser
#!/bin/bash
basedir=$(cd `dirname $0`;pwd)
mkdir -p data # creates a folder for your data
#ID=$(id -u) # saves your user id in the ID variable
#docker save filebrowser/filebrowser>./filebrowser.tar
#docker load<filebrowser.tar
docker stop filebrowser
docker rm filebrowser
docker run \
-d --name filebrowser -p 602:80 \
-v $PWD/data/sites/root:/srv \
filebrowser/filebrowser