根据https://github.com/happyfish100/fastdfs/tree/master/docker/dockerfile_network 改造成为一个基于alpine3:9的镜像
docker build -t \${CONTAINER_NAME}:\${VERSION} .
docker build -t fastdfs:1.0 .
docker run -d --name fastdfs --net=host -e SERVER=single -e TRACKER_LIST=\${YOUR_IP:PORT,...} \${CONTAINER_NAME}:\${VERSION}
docker run -d --name fastdfs --net=host -e SERVER=single -e TRACKER_LIST=192.168.1.2:22122 fastdfs:1.0
docker run -d --name tracker --net=host -e SERVER=tracker \${CONTAINER_NAME}:\${VERSION}
docker run -d --name tracker --net=host -e SERVER=tracker fastdfs:1.0
docker run -d --name storage --net=host -e SERVER=storage -e TRACKER_LIST=\${YOUR_IP:PORT,...} \${CONTAINER_NAME}:\${VERSION}
docker run -d --name storage --net=host -e SERVER=storage -e TRACKER_LIST=192.168.1.2:22122,192.168.1.3:22122 fastdfs:1.0
https://github.com/happyfish100/fastdfs.git
https://github.com/happyfish100/fastdfs-nginx-module.git
https://github.com/happyfish100/libfastcommon.git
http://nginx.org/download/nginx-1.15.4.tar.gz
https://github.com/happyfish100/fastdfs/tree/master/docker/dockerfile_network/conf
Content type
Image
Digest
Size
83.7 MB
Last updated
over 6 years ago
docker pull hxih/fastdfs