Communicating with juicefs minio using docker volume #5293
Unanswered
Hyeyeo-Kim
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am using minio as a container. I want to use it by communicating with juicefs and minio, so I am creating a container by looking at the juicefs guide. However, communication is currently impossible. Below, I will give you the method and code I used to install juicefs. Could you help me?
Now minio is working well
Install docker juicefs plugin
docker plugin install juicedata/juicefs
Create juicefs volume
docker volume create -d juicedata/juicefs
-o name=jfsvolue
-o metaurl="s3://ip:port/test"
-o storage="s3"
-o bucket=test
-o access-key="key"
-o secret-key="key"
jfsvolume
Create container
docker run -it --rm
-v jfsvolume:/data-shared
ubuntu:latest
$ docker volume ls
DRIVER VOLUME NAME
juicedata/juicefs:latest jfsvolume
$ docker volume inspect jfsvolume
[
{
"CreatedAt": "0001-01-01T00:00:00Z",
"Driver": "juicedata/juicefs:latest",
"Labels": {},
"Mountpoint": "/jfs/volumes/jfsvolue",
"Name": "jfsvolume",
"Options": {
"access-key": "key",
"bucket": "s3://ip:port/test",
"metaurl": "s3://ip:port/test",
"name": "jfsvolue",
"secret-key": "key",
"storage": "s3"
},
"Scope": "local"
}
]
Beta Was this translation helpful? Give feedback.
All reactions