FastDFS is an open source high performance distributed file system. It's major functions include: file storing, file syncing and file accessing (file uploading and file downloading), and it can resolve the high capacity and load balancing problem. FastDFS should meet the requirement of the website whose service based on files such as photo sharing site and video sharing site.
https://github.com/happyfish100/fastdfs
docker run -d --name tracker -v ~/data/fastdfs/tracker:/data/tracker -p 22122:22122 fdfs_tracker
- port: tracker default port is 22122
- base_path: map the path "/data/tracker"
docker run -d --name storage -v ~/data/fastdfs/storage:/data/storage --link tracker:tracker -p 80:80 -e TRACKER=tracker fdfs_storage
- port: nginx default port is 80
- base_path and store_path0: map the path "/data/storage"
- TRACKER: tracker container's name
-
docker logs tracker
-
docker logs storage