juicedata / docker-volume-juicefs Goto Github PK
View Code? Open in Web Editor NEWDocker volume plugin for juicefs
Docker volume plugin for juicefs
也别去调用外部的 juicefs auth / mount
了, 反正都是 golang 写的直接依赖一下也没啥的吧
$ make test
...
docker volume rm jfsvolume
Error response from daemon: remove jfsvolume: VolumeDriver.Remove: exit status 1
make: *** [volume] Error 1
No change in 63f9871 but test fails.
https://travis-ci.com/juicedata/docker-volume-juicefs/builds/73703834
### test volume create and mount
docker volume create -d juicedata/juicefs -o name=ci-aliyun -o token=[secure] -o accesskey=LTAIuMUtaPvNdPPV -o secretkey=[secure] jfsvolume
Error response from daemon: create jfsvolume: VolumeDriver.Create: lstat /jfs/volumes/ci-aliyun: no such file or directory
make: *** [volume] Error 1
Hello, the arm64
image for this plugin is quite old at this point (~2 years ago). Could you update it ? Thank you very much !
I have created a volume using
juicefs format \
--storage minio \
--bucket "https://minio.edwardcc.com/juicefs" \
--access-key python \
--secret-key removed \
"mysql://root:password@(removed:3306)/juicefs" \
docker
format success
2022/10/11 16:21:12.119184 juicefs[15272] <INFO>: Meta address: mysql://root:****@(removed:3306)/juicefs [interface.go:402]
2022/10/11 16:21:12.128931 juicefs[15272] <INFO>: Data use minio://minio.edwardcc.com/juicefs/docker/ [format.go:435]
2022/10/11 16:21:12.947961 juicefs[15272] <INFO>: Volume is formatted as {
"Name": "docker",
"UUID": "30444015-1d19-4865-923c-b7b618d69143",
"Storage": "minio",
"Bucket": "https://minio.edwardcc.com/juicefs",
"AccessKey": "python",
"SecretKey": "removed",
"BlockSize": 4096,
"Compression": "none",
"KeyEncrypted": true,
"TrashDays": 1,
"MetaVersion": 1
} [format.go:472]
start a mysql db using compse
docker-compose.yml
version: '3'
services:
db:
image: mysql/mysql-server
restart: always
environment:
MYSQL_DATABASE: demo
MYSQL_USER: demo
MYSQL_PASSWORD: demo
MYSQL_ROOT_PASSWORD: demo
volumes:
- jfsvolume:/var/lib/mysql
volumes:
jfsvolume:
driver: juicedata/juicefs:latest
driver_opts:
name: jfsvolume
metaurl: "mysql://root:password@(removed:3306)/juicefs"
the mysql init process failed with
can see high volume of write to minio
I have also tried using AWS S3, same problem
docker 20.10.24
ubuntu 20.4
image version juicedata/juicefs:1.1.0
sudo docker plugin install juicedata/juicefs:1.1.0 --alias juicefs
Error response from daemon:
failed to create shim task:
OCI runtime create failed:
runc create failed:
unable to start container process:
error during container init:
error mounting "/etc/resolv.conf" to rootfs at "/etc/resolv.conf":
stat /etc/resolv.conf: no such file or directory: unknown
first mount the directory is not empty, such as some juicefs config files, then docker do not copy container files to volumes,
We should test and improve this section of documentation.
ref juicedata/juicefs#3129
https://docs.travis-ci.com/user/build-stages/share-docker-image/
Tencent Cloud Beijing region
$ docker version
Client: Docker Engine - Community
Version: 19.03.2
API version: 1.40
Go version: go1.12.8
Git commit: 6a30dfc
Built: Thu Aug 29 05:29:29 2019
OS/Arch: linux/amd64
Experimental: false
Server: Docker Engine - Community
Engine:
Version: 19.03.2
API version: 1.40 (minimum version 1.12)
Go version: go1.12.8
Git commit: 6a30dfc
Built: Thu Aug 29 05:28:05 2019
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.2.6
GitCommit: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc:
Version: 1.0.0-rc8
GitCommit: 425e105d5a03fabd737a126ad93d62a9eeede87f
docker-init:
Version: 0.18.0
GitCommit: fec3683
$ uname -a
Linux VM-0-10-debian 4.19.0-6-cloud-amd64 #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) x86_64 GNU/Linux
See https://travis-ci.com/juicedata/docker-volume-juicefs/builds/72528323
container_linux.go:265: starting container process caused "process_linux.go:368: container init caused \"rootfs_linux.go:57: mounting \\\"/var/lib/docker/plugins/89be0960ab9c4ca184f89070549a79eefb0058d2eace4ac4c8caa4c42295eb21/rootfs/jfs/volumes/ci-aliyun\\\" to rootfs \\\"/var/lib/docker/overlay2/853ef9df93d3557b05af3523d7e1babfb1413a7c93aac48c4f86e4e8c6186e09/merged\\\" at \\\"/write\\\" caused \\\"stat /var/lib/docker/plugins/89be0960ab9c4ca184f89070549a79eefb0058d2eace4ac4c8caa4c42295eb21/rootfs/jfs/volumes/ci-aliyun: input/output error\\\"\""
The same procedure works well when doing it manually step by step even in travix-ci environment.
It is not clear yet whether it works in a multi-node docker swarm cluster.
docker compose comfig
version: "3"
volumes:
polyfill-cache:
driver: juicedata/juicefs
driver_opts:
name: polyfill-cache
metaurl: postgres://postgres:${META_PASSWORD}@meta-server:5432/juicefs
storage: ${STORAGE_TYPE}
bucket: ${BUCKET}
access-key: ${ACCESS_KEY}
secret-key: ${SECRET_KEY}
networks:
polyfiller:
services:
autoheal:
image: willfarrell/autoheal:1.2.0
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: always
meta-server:
depends_on:
- autoheal
image: postgres
environment:
- POSTGRES_USER=postgres
- POSTGRES_DB=juicefs
- POSTGRES_PASSWORD=${META_PASSWORD}
volumes:
- ./data:/var/lib/postgresql/data/
networks:
- polyfiller
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
interval: 3s
retries: 5
labels:
- autoheal=true
restart: always
api-service:
depends_on:
- autoheal
- meta-server
image: polyfiller/api-service
environment:
- NODE_ENV=production
volumes:
- polyfill-cache:/tmp/@wessberg/polyfiller
networks:
- polyfiller
healthcheck:
test: ["CMD-SHELL", "curl -f http://localhost:3000/ || exit 1"]
interval: 300000000s
retries: 5
start_period: 30s
labels:
- autoheal=true
restart: always
logging:
driver: json-file
options:
max-size: 10m
caddy:
depends_on:
- api-service
image: caddy
ports:
- 80:80
- 443:443
networks:
- polyfiller
restart: always
command: caddy reverse-proxy --from polyfiller.app --to api-service:3000
I run docker compose create
✔ Network polyfiller_polyfiller Created 0.1s
✔ Network polyfiller_default Created 0.1s
✘ Volume "polyfiller_polyfill-cache" Error 10.1s
Error response from daemon: create polyfiller_polyfill-cache: VolumeDriver.Create: exit status 1
get log from docker.service
Mar 18 11:55:59 traefik dockerd[11888]: time="2024-03-18T11:55:59+08:00" level=error msg="2024/03/18 03:55:59 Entering go-plugins-helpers listPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:55:59 traefik dockerd[11888]: time="2024-03-18T11:55:59+08:00" level=error msg="time=\"2024-03-18T03:55:59Z\" level=debug method=list" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:07 traefik dockerd[11888]: time="2024-03-18T11:56:07+08:00" level=error msg="2024/03/18 03:56:07 Entering go-plugins-helpers getPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:07 traefik dockerd[11888]: time="2024-03-18T11:56:07+08:00" level=error msg="time=\"2024-03-18T03:56:07Z\" level=debug msg=\"&volume.GetRequest{Name:\\\"polyfiller_polyfill-cache\\\"}\" method=get" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:07 traefik dockerd[11888]: time="2024-03-18T11:56:07+08:00" level=error msg="time=\"2024-03-18T03:56:07Z\" level=error msg=\"volume polyfiller_polyfill-cache not found\"" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:07 traefik dockerd[11888]: time="2024-03-18T11:56:07+08:00" level=error msg="2024/03/18 03:56:07 Entering go-plugins-helpers capabilitiesPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:07 traefik dockerd[11888]: time="2024-03-18T11:56:07+08:00" level=error msg="time=\"2024-03-18T03:56:07Z\" level=debug method=capabilities" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:07 traefik dockerd[11888]: time="2024-03-18T11:56:07+08:00" level=error msg="2024/03/18 03:56:07 Entering go-plugins-helpers getPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:07 traefik dockerd[11888]: time="2024-03-18T11:56:07+08:00" level=error msg="time=\"2024-03-18T03:56:07Z\" level=debug msg=\"&volume.GetRequest{Name:\\\"polyfiller_polyfill-cache\\\"}\" method=get" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:07 traefik dockerd[11888]: time="2024-03-18T11:56:07+08:00" level=error msg="time=\"2024-03-18T03:56:07Z\" level=error msg=\"volume polyfiller_polyfill-cache not found\"" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:07 traefik dockerd[11888]: time="2024-03-18T11:56:07+08:00" level=error msg="2024/03/18 03:56:07 Entering go-plugins-helpers createPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:07 traefik dockerd[11888]: time="2024-03-18T11:56:07+08:00" level=error msg="time=\"2024-03-18T03:56:07Z\" level=debug msg=\"&volume.CreateRequest{Name:\\\"polyfiller_polyfill-cache\\\", Options:map[string]string{\\\"access-key\\\":\\\"*****\\\", \\\"bucket\\\":\\\"https://polyfill4web.blob.core.chinacloudapi.cn\\\", \\\"metaurl\\\":\\\"postgres://postgres:polyfill4web@meta-server:5432/juicefs\\\", \\\"name\\\":\\\"polyfill-cache\\\", \\\"secret-key\\\":\\\"******\\\", \\\"storage\\\":\\\"wasb\\\"}}\" method=create" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:07 traefik dockerd[11888]: time="2024-03-18T11:56:07+08:00" level=error msg="time=\"2024-03-18T03:56:07Z\" level=debug msg=\"/bin/juicefs format --no-update --storage=wasb --bucket=https://polyfill4web.blob.core.chinacloudapi.cn --access-key=**** --secret-key=***== postgres://postgres:polyfill4web@meta-server:5432/juicefs polyfill-cache\"" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:17 traefik dockerd[11888]: time="2024-03-18T11:56:17+08:00" level=error msg="time=\"2024-03-18T03:56:17Z\" level=error msg=\"juicefs format error: 2024/03/18 03:56:07.136293 juicefs[12] <INFO>: Meta address: postgres://postgres:****@meta-server:5432/juicefs [interface.go:497]\\n2024/03/18 03:56:17.149403 juicefs[12] <FATAL>: Meta postgres://postgres:****@meta-server:5432/juicefs is not available: ping database: failed to connect to `host=meta-server user=postgres database=juicefs`: hostname resolving error (lookup meta-server: Try again) [interface.go:509]\\n\"" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:17 traefik dockerd[11888]: time="2024-03-18T11:56:17+08:00" level=error msg="time=\"2024-03-18T03:56:17Z\" level=error msg=\"exit status 1\"" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:17 traefik dockerd[11888]: time="2024-03-18T11:56:17+08:00" level=error msg="2024/03/18 03:56:17 Entering go-plugins-helpers capabilitiesPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:17 traefik dockerd[11888]: time="2024-03-18T11:56:17+08:00" level=error msg="time=\"2024-03-18T03:56:17Z\" level=debug method=capabilities" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 11:56:17 traefik dockerd[11888]: time="2024-03-18T11:56:17.159511442+08:00" level=error msg="Handler for POST /v1.44/volumes/create returned error: create polyfiller_polyfill-cache: VolumeDriver.Create: exit status 1"
second run docker compose create
✔ Container polyfiller-autoheal-1 Created 0.1s
✔ Container polyfiller-meta-server-1 Created 0.1s
✔ Container polyfiller-api-service-1 Created 0.1s
✔ Container polyfiller-caddy-1 Created
log from docker service
Mar 18 12:00:17 traefik dockerd[11888]: time="2024-03-18T12:00:17+08:00" level=error msg="2024/03/18 04:00:17 Entering go-plugins-helpers getPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:00:17 traefik dockerd[11888]: time="2024-03-18T12:00:17+08:00" level=error msg="time=\"2024-03-18T04:00:17Z\" level=debug msg=\"&volume.GetRequest{Name:\\\"polyfiller_polyfill-cache\\\"}\" method=get" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:00:17 traefik dockerd[11888]: time="2024-03-18T12:00:17+08:00" level=error msg="2024/03/18 04:00:17 Entering go-plugins-helpers capabilitiesPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:00:17 traefik dockerd[11888]: time="2024-03-18T12:00:17+08:00" level=error msg="time=\"2024-03-18T04:00:17Z\" level=debug method=capabilities" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:00:18 traefik dockerd[11888]: time="2024-03-18T12:00:18+08:00" level=error msg="2024/03/18 04:00:18 Entering go-plugins-helpers capabilitiesPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:00:18 traefik dockerd[11888]: time="2024-03-18T12:00:18+08:00" level=error msg="time=\"2024-03-18T04:00:18Z\" level=debug method=capabilities" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:00:18 traefik dockerd[11888]: time="2024-03-18T12:00:18+08:00" level=error msg="2024/03/18 04:00:18 Entering go-plugins-helpers getPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:00:18 traefik dockerd[11888]: time="2024-03-18T12:00:18+08:00" level=error msg="time=\"2024-03-18T04:00:18Z\" level=debug msg=\"&volume.GetRequest{Name:\\\"polyfiller_polyfill-cache\\\"}\" method=get" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:00:18 traefik dockerd[11888]: time="2024-03-18T12:00:18+08:00" level=error msg="2024/03/18 04:00:18 Entering go-plugins-helpers getPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:00:18 traefik dockerd[11888]: time="2024-03-18T12:00:18+08:00" level=error msg="time=\"2024-03-18T04:00:18Z\" level=debug msg=\"&volume.GetRequest{Name:\\\"3e8770e74f7592d89906a275f5d0b7a6444b4f019ed6f24930375da03b7261f0\\\"}\" method=get" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:00:18 traefik dockerd[11888]: time="2024-03-18T12:00:18+08:00" level=error msg="time=\"2024-03-18T04:00:18Z\" level=error msg=\"volume 3e8770e74f7592d89906a275f5d0b7a6444b4f019ed6f24930375da03b7261f0 not found\"" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:00:18 traefik dockerd[11888]: time="2024-03-18T12:00:18+08:00" level=error msg="2024/03/18 04:00:18 Entering go-plugins-helpers getPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:00:18 traefik dockerd[11888]: time="2024-03-18T12:00:18+08:00" level=error msg="time=\"2024-03-18T04:00:18Z\" level=debug msg=\"&volume.GetRequest{Name:\\\"1fe1b6082548635500dfed77eecd473337f9a29a8735078be138baeacc5c13f3\\\"}\" method=get" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:00:18 traefik dockerd[11888]: time="2024-03-18T12:00:18+08:00" level=error msg="time=\"2024-03-18T04:00:18Z\" level=error msg=\"volume 1fe1b6082548635500dfed77eecd473337f9a29a8735078be138baeacc5c13f3 not found\"" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
I run docker compose up
get log from docker service
Mar 18 12:02:14 traefik dockerd[11888]: time="2024-03-18T12:02:14+08:00" level=error msg="2024/03/18 04:02:14 Entering go-plugins-helpers capabilitiesPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:02:14 traefik dockerd[11888]: time="2024-03-18T12:02:14+08:00" level=error msg="time=\"2024-03-18T04:02:14Z\" level=debug method=capabilities" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:02:14 traefik dockerd[11888]: time="2024-03-18T12:02:14+08:00" level=error msg="2024/03/18 04:02:14 Entering go-plugins-helpers getPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:02:14 traefik dockerd[11888]: time="2024-03-18T12:02:14+08:00" level=error msg="time=\"2024-03-18T04:02:14Z\" level=debug msg=\"&volume.GetRequest{Name:\\\"polyfiller_polyfill-cache\\\"}\" method=get" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:02:14 traefik dockerd[11888]: time="2024-03-18T12:02:14+08:00" level=error msg="2024/03/18 04:02:14 Entering go-plugins-helpers capabilitiesPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:02:14 traefik dockerd[11888]: time="2024-03-18T12:02:14+08:00" level=error msg="time=\"2024-03-18T04:02:14Z\" level=debug method=capabilities" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:02:14 traefik dockerd[11888]: time="2024-03-18T12:02:14.426032510+08:00" level=info msg="No non-localhost DNS nameservers are left in resolv.conf. Using default external servers: [nameserver 8.8.8.8 nameserver 8.8.4.4]"
Mar 18 12:02:14 traefik dockerd[11888]: time="2024-03-18T12:02:14.426097015+08:00" level=info msg="IPv6 enabled; Adding default IPv6 external servers: [nameserver 2001:4860:4860::8888 nameserver 2001:4860:4860::8844]"
Mar 18 12:02:14 traefik dockerd[11888]: 2024/03/18 12:02:14 http: superfluous response.WriteHeader call from go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp.(*respWriterWrapper).WriteHeader (wrap.go:98)
Mar 18 12:02:14 traefik dockerd[11888]: time="2024-03-18T12:02:14.849216245+08:00" level=info msg="No non-localhost DNS nameservers are left in resolv.conf. Using default external servers: [nameserver 8.8.8.8 nameserver 8.8.4.4]"
Mar 18 12:02:14 traefik dockerd[11888]: time="2024-03-18T12:02:14.849270186+08:00" level=info msg="IPv6 enabled; Adding default IPv6 external servers: [nameserver 2001:4860:4860::8888 nameserver 2001:4860:4860::8844]"
Mar 18 12:02:15 traefik dockerd[11888]: time="2024-03-18T12:02:15.286014038+08:00" level=info msg="No non-localhost DNS nameservers are left in resolv.conf. Using default external servers: [nameserver 8.8.8.8 nameserver 8.8.4.4]"
Mar 18 12:02:15 traefik dockerd[11888]: time="2024-03-18T12:02:15.286079928+08:00" level=info msg="IPv6 enabled; Adding default IPv6 external servers: [nameserver 2001:4860:4860::8888 nameserver 2001:4860:4860::8844]"
Mar 18 12:02:15 traefik dockerd[11888]: time="2024-03-18T12:02:15+08:00" level=error msg="2024/03/18 04:02:15 Entering go-plugins-helpers capabilitiesPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:02:15 traefik dockerd[11888]: time="2024-03-18T12:02:15+08:00" level=error msg="time=\"2024-03-18T04:02:15Z\" level=debug method=capabilities" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:02:15 traefik dockerd[11888]: time="2024-03-18T12:02:15+08:00" level=error msg="2024/03/18 04:02:15 Entering go-plugins-helpers getPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:02:15 traefik dockerd[11888]: time="2024-03-18T12:02:15+08:00" level=error msg="time=\"2024-03-18T04:02:15Z\" level=debug msg=\"&volume.GetRequest{Name:\\\"polyfiller_polyfill-cache\\\"}\" method=get" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:02:15 traefik dockerd[11888]: time="2024-03-18T12:02:15+08:00" level=error msg="2024/03/18 04:02:15 Entering go-plugins-helpers capabilitiesPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:02:15 traefik dockerd[11888]: time="2024-03-18T12:02:15+08:00" level=error msg="time=\"2024-03-18T04:02:15Z\" level=debug method=capabilities" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:02:15 traefik dockerd[11888]: time="2024-03-18T12:02:15+08:00" level=error msg="2024/03/18 04:02:15 Entering go-plugins-helpers mountPath" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:02:15 traefik dockerd[11888]: time="2024-03-18T12:02:15+08:00" level=error msg="time=\"2024-03-18T04:02:15Z\" level=debug msg=\"&volume.MountRequest{Name:\\\"polyfiller_polyfill-cache\\\", ID:\\\"e059d8dea2fa5b9437ddb990ca638e9b437fdd2ae0a4d4937c3ed86cb39a6c26\\\"}\" method=mount" plugin=b59d66d420b9d9d317583c6b0fbd12638f92e74891d44fafa6f6de7d55c2ec30
Mar 18 12:02:15 traefik dockerd[11888]: time="2024-03-18T12:02:15.754192262+08:00" level=info msg="No non-localhost DNS nameservers are left in resolv.conf. Using default external servers: [nameserver 8.8.8.8 nameserver 8.8.4.4]"
Mar 18 12:02:15 traefik dockerd[11888]: time="2024-03-18T12:02:15.754271346+08:00" level=info msg="IPv6 enabled; Adding default IPv6 external servers: [nameserver 2001:4860:4860::8888 nameserver 2001:4860:4860::8844]"
in pg docker container , I cann't find any data about juicefs
postgres=# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+------------+------------+-----------------------
juicefs | postgres | UTF8 | en_US.utf8 | en_US.utf8 |
postgres | postgres | UTF8 | en_US.utf8 | en_US.utf8 |
template0 | postgres | UTF8 | en_US.utf8 | en_US.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.utf8 | en_US.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
(4 rows)
postgres=# \c juicefs
You are now connected to database "juicefs" as user "postgres".
juicefs=# \dt
Did not find any relations.
juicefs=#
Hi, I trying to use juicefs with mysql to store several config files, all works fine via fuse but fails when I try to mount existing JuiceFS volume to docker volume.
The command to a create docker volume with an exists JuiceFS volume.
docker volume create -d juicedata/juicefs:latest -o name=devserversh-rundeck-ssh -o storage=mysql -o metaurl=mysql://rundeck:rundeck@(192.168.26.1:3306)/devserversh_rundeck_ssh jfsvolume
The journal log
Sep 19 13:13:41 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:41Z" level=error msg="2023/09/19 13:13:41 Entering go-plugins-helpers createPath" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:41 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:41Z" level=error msg="time=\"2023-09-19T13:13:41Z\" level=debug msg=\"&volume.CreateRequest{Name:\\\"jfsvolume\\\", Options:map[string]string{\\\"metaurl\\\":\\\"mysql://rundeck:rundeck@(192.168.26.1:3306)/devserversh_rundeck_ssh\\\", \\\"name\\\":\\\"devserversh-rundeck-ssh\\\"}}\" method=create" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:41 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:41Z" level=error msg="time=\"2023-09-19T13:13:41Z\" level=debug msg=\"/bin/juicefs format --no-update mysql://rundeck:rundeck@(192.168.26.1:3306)/devserversh_rundeck_ssh devserversh-rundeck-ssh\"" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:41 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:41Z" level=error msg="time=\"2023-09-19T13:13:41Z\" level=debug msg=\"/bin/juicefs mount mysql://rundeck:rundeck@(192.168.26.1:3306)/devserversh_rundeck_ssh /jfs/volumes/devserversh-rundeck-ssh\"" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:41 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:41Z" level=error msg="time=\"2023-09-19T13:13:41Z\" level=debug msg=\"Error in attempt 1: <nil>\"" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:41 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:41Z" level=error msg="time=\"2023-09-19T13:13:41Z\" level=debug msg=\"[50 48 50 51 47 48 57 47 49 57 32 49 51 58 49 51 58 52 49 46 49 57 57 56 48 50 32 106 117 105 99 101 102 115 91 50 50 93 32 60 73 78 70 79 62 58 32 77 101 116 97 32 97 100 100 114 101 115 115 58 32 109 121 115 113 108 58 47 47 114 117 110 100 101 99 107 58 42 42 42 42 64 40 49 57 50 46 49 54 56 46 50 54 46 49 58 51 51 48 54 41 47 100 101 118 115 101 114 118 101 114 115 104 95 114 117 110 100 101 99 107 95 115 115 104 32 91 105 110 116 101 114 102 97 99 101 46 103 111 58 52 48 49 93 10 50 48 50 51 47 48 57 47 49 57 32 49 51 58 49 51 58 52 49 46 50 48 49 49 53 57 32 106 117 105 99 101 102 115 91 50 50 93 32 60 70 65 84 65 76 62 58 32 108 111 97 100 32 115 101 116 116 105 110 103 58 32 99 104 101 99 107 32 118 101 114 115 105 111 110 58 32 97 108 108 111 119 101 100 32 109 105 110 105 109 117 109 32 118 101 114 115 105 111 110 58 32 49 46 49 46 48 45 65 59 32 112 108 101 97 115 101 32 117 112 103 114 97 100 101 32 116 104 101 32 99 108 105 101 110 116 32 91 109 97 105 110 46 103 111 58 51 49 93 10]\"" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:42 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:42Z" level=error msg="time=\"2023-09-19T13:13:42Z\" level=debug msg=\"Error in attempt 2: <nil>\"" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:43 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:43Z" level=error msg="time=\"2023-09-19T13:13:43Z\" level=debug msg=\"Error in attempt 3: <nil>\"" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:44 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:44Z" level=error msg="time=\"2023-09-19T13:13:44Z\" level=debug msg=\"Error in attempt 4: <nil>\"" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:45 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:45Z" level=error msg="time=\"2023-09-19T13:13:45Z\" level=debug msg=\"Error in attempt 5: <nil>\"" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:46 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:46Z" level=error msg="time=\"2023-09-19T13:13:46Z\" level=debug msg=\"Error in attempt 6: <nil>\"" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:47 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:47Z" level=error msg="time=\"2023-09-19T13:13:47Z\" level=debug msg=\"Error in attempt 7: <nil>\"" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:48 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:48Z" level=error msg="time=\"2023-09-19T13:13:48Z\" level=debug msg=\"Error in attempt 8: <nil>\"" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:49 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:49Z" level=error msg="time=\"2023-09-19T13:13:49Z\" level=debug msg=\"Error in attempt 9: <nil>\"" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:50 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:50Z" level=error msg="time=\"2023-09-19T13:13:50Z\" level=debug msg=\"Error in attempt 10: <nil>\"" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="2023/09/19 13:13:51 http: panic serving @: runtime error: invalid memory address or nil pointer dereference" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="goroutine 5 [running]:" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="net/http.(*conn).serve.func1()" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="\t/usr/local/go/src/net/http/server.go:1802 +0xb9" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="panic({0x652f00, 0x83caa0})" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="\t/usr/local/go/src/runtime/panic.go:1047 +0x266" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="main.ceMount(0xc000052300)" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51.167836366Z" level=warning msg="Unable to connect to plugin: plugin.moby.localhost/VolumeDriver.Create: Post \"http://plugin.moby.localhost/VolumeDriver.Create\": EOF, retrying in 1s"
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="\t/docker-volume-juicefs/main.go:158 +0x1035" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="main.mountVolume(0xc000052300)" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="\t/docker-volume-juicefs/main.go:265 +0x105" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="main.(*jfsDriver).Create(0xc0000d21c0, 0xc00000e168)" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="\t/docker-volume-juicefs/main.go:313 +0x3ff" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="github.com/docker/go-plugins-helpers/volume.(*Handler).initMux.func1({0x6ec2d0, 0xc0000720e0}, 0x0)" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="\t/go/pkg/mod/github.com/docker/[email protected]/volume/api.go:138 +0xc5" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="net/http.HandlerFunc.ServeHTTP(0x4ad086, {0x6ec2d0, 0xc0000720e0}, 0xc0000720e0)" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="\t/usr/local/go/src/net/http/server.go:2047 +0x2f" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="net/http.(*ServeMux).ServeHTTP(0x0, {0x6ec2d0, 0xc0000720e0}, 0xc000066500)" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="\t/usr/local/go/src/net/http/server.go:2425 +0x149" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="net/http.serverHandler.ServeHTTP({0x6eb7f0}, {0x6ec2d0, 0xc0000720e0}, 0xc000066500)" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="\t/usr/local/go/src/net/http/server.go:2879 +0x43b" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="net/http.(*conn).serve(0xc000062000, {0x6ed200, 0xc000094f90})" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="\t/usr/local/go/src/net/http/server.go:1930 +0xb08" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="created by net/http.(*Server).Serve" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:51 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:51Z" level=error msg="\t/usr/local/go/src/net/http/server.go:3034 +0x4e8" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:52 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:52Z" level=error msg="2023/09/19 13:13:52 Entering go-plugins-helpers createPath" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:52 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:52Z" level=error msg="2023/09/19 13:13:52 Entering go-plugins-helpers capabilitiesPath" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:52 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:52Z" level=error msg="time=\"2023-09-19T13:13:52Z\" level=debug method=capabilities" plugin=a794f8f1c25f8348edacc4ce046377f20c9ea564c176961ea7b393b14b3819e4
Sep 19 13:13:52 rundeck.devserver.local dockerd[2321]: time="2023-09-19T13:13:52.168805647Z" level=error msg="Handler for POST /v1.43/volumes/create returned error: create jfsvolume: VolumeDriver.Create: EOF\n"
The decode of the error:
2023/09/19 13:13:41.199802 juicefs[22] <INFO>: Meta address: mysql://rundeck:****@(192.168.26.1:3306)/devserversh_rundeck_ssh [interface.go:401]
2023/09/19 13:13:41.201159 juicefs[22] <FATAL>: load setting: check version: allowed minimum version: 1.1.0-A; please upgrade the client [main.go:31]
JuiceFS Version
juicefs version 1.1.0+2023-09-04.08c4ae6
error creating:
Aug 29 21:09:59 xx dockerd[3484157]: time="2022-08-29T21:09:59+08:00" level=error msg="2022/08/29 13:09:59 Entering go-plugins-helpers capabilitiesPath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707
e8731b8e76e6ed36fd0dcd7872
Aug 29 21:09:59 xx dockerd[3484157]: time="2022-08-29T21:09:59+08:00" level=error msg="2022/08/29 13:09:59 Entering go-plugins-helpers getPath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707e8731b8e7
6e6ed36fd0dcd7872
Aug 29 21:09:59 xx dockerd[3484157]: time="2022-08-29T21:09:59+08:00" level=error msg="time=\"2022-08-29T13:09:59Z\" level=error msg=\"volume jfsvolume not found\"" plugin=6c7e6cb69ef9bd279a1e2f203a
4514d1609707e8731b8e76e6ed36fd0dcd7872
Aug 29 21:09:59 xx dockerd[3484157]: time="2022-08-29T21:09:59+08:00" level=error msg="2022/08/29 13:09:59 Entering go-plugins-helpers createPath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707e8731b
8e76e6ed36fd0dcd7872
Aug 29 21:10:09 xx dockerd[3484157]: time="2022-08-29T21:10:09+08:00" level=error msg="time=\"2022-08-29T13:10:09Z\" level=error msg=\"exit status 255\"" plugin=6c7e6cb69ef9bd279a1e2f203a4514d160970
7e8731b8e76e6ed36fd0dcd7872
Aug 29 21:10:09 xx dockerd[3484157]: time="2022-08-29T21:10:09+08:00" level=error msg="2022/08/29 13:10:09 Entering go-plugins-helpers capabilitiesPath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707
e8731b8e76e6ed36fd0dcd7872
Aug 29 21:10:09 xx dockerd[3484157]: time="2022-08-29T21:10:09.618470342+08:00" level=error msg="Handler for POST /v1.41/volumes/create returned error: create jfsvolume: VolumeDriver.Create: exit st
atus 255"
Aug 29 21:10:58 xx dockerd[3484157]: time="2022-08-29T21:10:58+08:00" level=error msg="2022/08/29 13:10:58 Entering go-plugins-helpers capabilitiesPath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707
e8731b8e76e6ed36fd0dcd7872
error deleting:
Aug 29 21:15:46 xx dockerd[3484157]: time="2022-08-29T21:15:46+08:00" level=error msg="2022/08/29 13:15:46 Entering go-plugins-helpers capabilitiesPath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707e8731b8e76e6ed36fd0dcd7872
Aug 29 21:15:46 xx dockerd[3484157]: time="2022-08-29T21:15:46+08:00" level=error msg="2022/08/29 13:15:46 Entering go-plugins-helpers capabilitiesPath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707e8731b8e76e6ed36fd0dcd7872
Aug 29 21:15:46 xx dockerd[3484157]: time="2022-08-29T21:15:46+08:00" level=error msg="2022/08/29 13:15:46 Entering go-plugins-helpers removePath" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707e8731b8e76e6ed36fd0dcd7872
Aug 29 21:15:46 xx dockerd[3484157]: time="2022-08-29T21:15:46+08:00" level=error msg="time=\"2022-08-29T13:15:46Z\" level=error msg=\"exit status 1\"" plugin=6c7e6cb69ef9bd279a1e2f203a4514d1609707e8731b8e76e6ed36fd0dcd7872
Aug 29 21:15:46 xx dockerd[3484157]: time="2022-08-29T21:15:46.681875874+08:00" level=error msg="Handler for DELETE /v1.41/volumes/jfsvolume returned error: remove jfsvolume: VolumeDriver.Remove: exit status 1"
使用的mate为https://juicefs.com/static/juicefs 配合腾讯云oos.正常客户端使用没问题,使用docker plugin 系统重启后就挂载失败。volumes里没有数据。请问应该怎么排查?
docker info
Client: Docker Engine - Community
Version: 24.0.7
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: v0.11.2
Path: /usr/libexec/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: v2.21.0
Path: /usr/libexec/docker/cli-plugins/docker-compose
Kernel Version: 5.10.0-26-amd64
Operating System: Debian GNU/Linux 11 (bullseye)
OSType: linux
Architecture: x86_64
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Live Restore Enabled: false
按照https://juicefs.com/docs/zh/community/juicefs_on_docker#troubleshooting 排查,输出如下:
sudo. ls /run/docker/plugins/runtime-root/plugins.moby 输出为空
sudo runc --root /run/docker/plugins/runtime-root/plugins.moby list 没有输出
sudo journalctl -f -u docker | grep "plugin="
输出如下
" level=error msg="2024/01/04 10:29:50 Entering go-plugins-helpers getPath" plugin=2894f5d961070ef3a4cfd1c79f46ec8f66a7a9dd4ea2e7c5507e5fcbb286135e
" level=error msg="2024/01/04 10:29:50 Entering go-plugins-helpers capabilitiesPath" plugin=2894f5d961070ef3a4cfd1c79f46ec8f66a7a9dd4ea2e7c5507e5fc
已知可用的解决方案为:
docker plugin disable --force juicedata/juicefs && docker plugin upgrade juicedata/juicefs
然后重新启动容器
⠿ Volume "jfsvolume" Error 0.0s
Error response from daemon: create jfsvolume: VolumeDriver.Create: signal: segmentation fault
After a first error trial the volume will be falsely created via a cache folder but not connected to the S3 bucket.
Delete the volume is simply impossible
docker volume rm jfsvolume --force
Error response from daemon: remove jfsvolume: VolumeDriver.Remove: exit status 1
version: '3.7'
x-shared: &shared
image: alpine:3.14
command: tail -F anything
restart: unless-stopped
networks:
- demo
volumes:
- jfsvolume:/datavault
services:
node1:
<<: *shared
node2:
<<: *shared
networks:
demo:
volumes:
jfsvolume:
driver: juicedata/juicefs
driver_opts:
name: datavault
metaurl: redis://127.0.0.1:9190/1
storage: s3
bucket: https://s3.gra.perf.cloud.ovh.net/mybucket
accesskey: XXX
secretkey: XXX
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.