配合FTP服务器搭建:(不支持中文目录或文件名)
docker run -d -v /home/vsftpd:/home/vsftpd \ -p 20:20 -p 21:21 -p 21100-21110:21100-21110 \ -e FTP_USER=admin -e FTP_PASS=jcyf1234 \ -e PASV_ADDRESS=192.168.1.34 -e PASV_MIN_PORT=21100 -e PASV_MAX_PORT=21110 \ --name vsftpd --restart=always fauria/vsftpd
docker run -d -p 8012:8012 -v kkFileView:/opt/kkFileView-4.1.0 --name kkfileview keking/kkfileview:4.1.0
cp -r /var/lib/docker/volumes/kkFileView/_data/. /home/kkFileView/
docker stop kkfileview
docker rm kkfileview
docker run -d -e KK_FTP_USERNAME="admin" -e KK_FTP_PASSWORD="jcyf1234" -p 8012:8012 -v /home/kkFileView/:/opt/kkFileView-4.1.0 --name kkfileview --restart=always keking/kkfileview:4.1.0
标签:实战,FTP,--,vsftpd,kkFileView,home,kkfileview,搭建 From: https://www.cnblogs.com/lm970585581/p/17174603.html