Docker安装FastDfs
1.docker pull morunchang/fastdfs
2.docker run -d --name tracker --net=host morunchang/fastdfs sh tracker.sh
3.docker run -d --name storage --net=host -e TRACKER_IP=<your tracker server address>:22122 -e GROUP_NAME=<group name> morunchang/fastdfs sh storage.sh
-
-
<group name> 是组名,即storage的组
-
-------------------------------------------------------------------------------
docker exec -it storage /bin/bash
cd /etc/fdfs/storage.conf
查看storage文件目录