- Maintained by: the JuiceFS Community
- Repository: juicedata/docker-volume-juicefs
- Where to get help: Documents, the JuiceFS Community Slack, Server Fault, Unix & Linux, or Stack Overflow
This is the JuiceFS docker volume plugin image for both the open source edition and the cloud service, which makes it easy to use JuiceFS as a high performance, massive space persistent storage for Docker containers.
This is a Docker Volume Plugin image, if you need the standard image with JuiceFS clients packaged, please use the juicedata/mount.
Since JuiceFS mount depends on FUSE, please make sure that the FUSE driver is already installed on the host, in the case of Debian/Ubuntu.
sudo apt-get -y install fuse
$ sudo docker plugin install juicedata/juicefs --alias juicefs
sudo docker volume create -d juicefs \
-o name=<VOLUME_NAME> \
-o metaurl=<META_URL> \
-o storage=<STORAGE_TYPE> \
-o bucket=<BUCKET_NAME> \
-o access-key=<ACCESS_KEY> \
-o secret-key=<SECRET_KEY> \
jfsvolume
Please refer to the following instructions to modify the command:
<VOLUME_NAME>
- Name of the JuiceFS filesystem<META_URL>
- Database address for metadata storage, please refer to How to Set Up Metadata Engine<STORAGE_TYPE>
- Storage type, please refer to How to Set Up Object Storage<BUCKET_NAME>
- Data storage address, it usually the bucket endpoint address of the object storage.<ACCESS_KEY>
and<SECRET_KEY>
- Keys used to access the object storage.
sudo docker run -it -v jfsvolume:/mnt busybox ls /mnt
sudo docker plugin upgrade juicefs
sudo docker plugin enable juicefs
sudo docker plugin disable juicefs
sudo docker plugin rm juicefs
Please refer to troubleshooting.