Docker Image packaging for vsftpd. (amd64, arm32v6, arm32v7, arm64v8, i386, ppc64le,riscv64, s390x)
docker run --restart=always -d -e FTP_MODE=anonymous -e FTP_ROOT_PASSWORD=123456 -e PASV_ADDRESS=192.168.1.1(server ip) -p 21:21 -p 20:20 -p 20000-20010:20000-20010 -v ./Downloads:/var/lib/ftp/Downloads --name vsftpd snowdreamtech/vsftpd:latest
docker run --restart=always -d -e FTP_MODE=user -e FTP_USER=abcdef -e FTP_PASS="&abcdef0&" -e FTP_ROOT_PASSWORD=123456 -e PASV_ADDRESS=192.168.1.1(server ip) -p 21:21 -p 20:20 -p 20000-20010:20000-20010 -v ./Downloads:/root/Downloads -v ./Downloads:/home/abcdef/Downloads --name vsftpd snowdreamtech/vsftpd:latest
docker run --restart=always -d -e FTP_MODE=virtual -e FTP_USER=abcdef -e FTP_PASS="&abcdef0&" -e FTP_ROOT_PASSWORD=123456 -e PASV_ADDRESS=192.168.1.1(server ip) -p 21:21 -p 20:20 -p 20000-20010:20000-20010 -v ./Downloads:/home/virtual/abcdef/Downloads --name vsftpd snowdreamtech/vsftpd:latest
docker buildx create --use --name build --node build --driver-opt network=host
docker buildx build -t snowdreamtech/vsftpd --platform=linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64,linux/ppc64le,linux/riscv64,linux/s390x . --push
- 使用 buildx 构建多平台 Docker 镜像
- 使用 buildx 构建多平台 Docker 镜像
- 如何使用 docker buildx 构建跨平台 Go 镜像
- Building Multi-Arch Images for Arm and x86 with Docker Desktop
- How to Rapidly Build Multi-Architecture Images with Buildx
- Faster Multi-Platform Builds: Dockerfile Cross-Compilation Guide
- docker/buildx
- Email: sn0wdr1am@qq.com
- QQ: 3217680847
- QQ群: 949022145
- WeChat/微信群: sn0wdr1am
MIT