Open luojiyin1987 opened 8 months ago
Maybe Docker runs docker volume create
before the docker run
of the PgSQL service, so JuiceFS volume plugin can't connect to the Meta Database.
We may use JuiceFS as a Data Volume Container instead of a Volume Plugin, then mount it into other service containers: https://developer.aliyun.com/article/574444
when I run
docker volume create -d juicedata/juicefs \
-o name=VOLUME_NAME \
-o metaurl=sqlite3://myjfs.db \
-o storage=wasb \
-o bucket=https://pxxxx.cn \
-o access-key=poxxxx \
-o secret-key=xxxxxx \
jfsvolume
sudo dmesg -T | grep musl
[Mon Mar 18 11:46:44 2024] sh[1227]: segfault at 7fff7b43eff8 ip 00007fc0c0d58266 sp 00007fff7b43f000 error 6 in ld-musl-x86_64.so.1[7fc0c0d21000+48000] likely on CPU 2 (core 0, socket 1)
[Mon Mar 18 11:55:26 2024] sh[10395]: segfault at 7ffc7333eff8 ip 00007f78412da05e sp 00007ffc7333f000 error 6 in ld-musl-x86_64.so.1[7f78412a3000+48000] likely on CPU 1 (core 1, socket 0)
[Mon Mar 18 22:14:44 2024] sh[13251]: segfault at 7ffc0abadff8 ip 00007f3dd8feb062 sp 00007ffc0abae000 error 6 in ld-musl-x86_64.so.1[7f3dd8fb4000+48000] likely on CPU 1 (core 1, socket 0)
docker compose comfig
I run
docker compose create
get log from docker.service
second run
docker compose create
log from docker service
I run
docker compose up
get log from docker servicein pg docker container , I cann't find any data about juicefs