ftp容器搭建
作者:互联网
一个做ftp的docker-compose文件
version: "2.0" services: ftp-server: image: fauria/vsftpd container_name: ftp-test1 ports: - "2340:20" - "2341:21" - "21100-21110:21100-21110" volumes: - ./data:/home/vsftpd - ./log/vsftpd/:/var/log/vsftpd environment: - FTP_USER=myuser - FTP_PASS=mypass - PASV_MIN_PORT=21100 - PASV_MAX_PORT=21110 - PASV_ADDRESS=10.5.50.200 - LOG_STDOUT=1 restart: always
参考:https://blog.csdn.net/zd18423418323/article/details/83513968
标签:容器,21110,ftp,21100,vsftpd,PASV,PORT,搭建 来源: https://www.cnblogs.com/regit/p/13953424.html