Skip to content

Instantly share code, notes, and snippets.

@LeonDevLifeLog
Created September 20, 2017 08:29
Show Gist options
  • Save LeonDevLifeLog/a9015314682f319eec66c8751ec81ab2 to your computer and use it in GitHub Desktop.
Save LeonDevLifeLog/a9015314682f319eec66c8751ec81ab2 to your computer and use it in GitHub Desktop.
docker run -d -v /home/leon/共享:/home/vsftpd \
-p 20:20 -p 21:21 -p 47400-47470:47400-47470 \
-e FTP_USER=user \
-e FTP_PASS=123456 \
-e PASV_ADDRESS=0.0.0.0 \
--name ftp \
--net=host \
--restart=always bogem/ftp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment