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 vidio sharing site.
https://github.com/happyfish100/fastdfs
docker run -ti -d --name trakcer -v ~/tracker_data:/fastdfs/tracker/data --net=host season/fastdfs tracker
tracker default port is 22122
you should map the path: /fastdfs/tracker/data to keep the data
docker run -ti --name storage -v ~/storage_data:/fastdfs/storage/data -v ~/store_path:/fastdfs/store_path --net=host -e TRACKER_SERVER:192.168.1.2:22122 season/fastdfs storage
equal to "base_path" in store.conf
equal to "store_path0" in store.conf
tracker address
docker run -ti --name fdfs_sh --net=host season/fastdfs sh
too get a shell, you can use FastDFS client tools.
I redirect FastDFS's log file to container's stdout, so, its easy to collect log.
FastDFS config files is in: /fdfs_conf
Content type
Image
Digest
sha256:408acdeba…
Size
82.5 MB
Last updated
almost 11 years ago
docker pull season/fastdfs