DockerイメージはUbuntu20.04
1 2 |
Step 2/5 : RUN apt-get install -y tzdata && ln -sf /usr/share/zoneinfo/Asia/Tokyo /etc/localtime error creating aufs mount to /var/lib/docker/aufs/mnt/72b69eadc91830062caa2b08b6188afdd0546e934a1cfd65283cccc2060078b9-init: mount target=/var/lib/docker/aufs/mnt/72b69eadc91830062caa2b08b6188afdd0546e934a1cfd65283cccc2060078b9-init data=br:/var/lib/docker/aufs/diff/72b69eadc91830062caa2b08b6188afdd0546e934a1cfd65283cccc2060078b9-init=rw:/var/lib/docker/aufs/diff/85e337b095ce5f88316b04be0cfc3f7b90adee949009b1cf108fbe211b7622ee=ro+wh:/var/lib/docker/aufs/diff/19043a1d31013824cd93f43cd7507fe8aea3cc89da6eaecb14bc6c4b0344fdd5=ro+wh:/var/lib/docker/aufs/diff/f78722165f04cfef424870f704b6d902dd8922e91c4c5aeee105a0fd4219bfbb=ro+wh:/var/lib/docker/aufs/diff/507a1395333c6ed37adb54610a01f96d55d8293e42582400e04d1bb0b7dc0a91=ro+wh:/var/lib/docker/aufs/diff/bc8b959e98b81e9fd19cacf4d1c4c35e3bf9dc89fa3792785303d7050b1eb643=ro+wh:/var/lib/docker/aufs/diff/5849ef22ac353788ba694525da9803e1d0f3fd83bc3e78fa2ef50b5c3ea9081e=ro+wh:/var/lib/docker/aufs/diff/22bbed4ba4714808c3b2f3de65bb6b988115813c7a412f45f71dc532124919a0=ro+wh:/var/lib/docker/aufs/diff/709753f304f4a770f47eb0c9b207452654cbba5663f6becf04fce04dbf5c46f8=ro+wh:/var/lib/docker/aufs/diff/fcec661107a7c4ea55afc27483c2d5d236aa8c7e3830f35372a8b9e64cf7dc1a=ro+wh:/var/lib/docker/aufs/diff/216b36e330e8319554a7b54b72cc172a8f01210e4b1f4facc4a70416e95f8f64=ro+wh:/var/lib/docker/aufs/diff/6805dfccf282677f72d26ed42c2ef92e5eaa1442090e899d4e3ac1781925ccd4=ro+wh,dio,xino=/dev/shm/aufs.xino: invalid argument |
参考
https://qiita.com/cielavenir/items/05e50fa6bb493040085e
対処方法は利用するBacking Filesystemを変更する
1 |
dockerd --storage-driver=extfs |
通常
1 2 |
root@50776f3e25eb:/# docker info | grep "Backing Filesystem" Backing Filesystem: overlayfs |
としたけどこのようなエラーが出て変更できなかった
1 2 3 4 5 6 |
INFO[2021-01-10T20:04:11.618530110Z] ClientConn switching balancer to "pick_first" module=grpc ERRO[2021-01-10T20:04:11.619183362Z] Failed to GetDriver graph driver=extfs error="graphdriver plugins are only supported with experimental mode" home-dir=/var/lib/docker INFO[2021-01-10T20:04:11.619549529Z] stopping healthcheck following graceful shutdown module=libcontainerd INFO[2021-01-10T20:04:11.619561830Z] stopping event stream following graceful shutdown error="context canceled" module=libcontainerd namespace=plugins.moby WARN[2021-01-10T20:04:12.621142131Z] grpc: addrConn.createTransport failed to connect to {unix:///var/run/docker/containerd/containerd.sock <nil> 0 <nil>}. Err :connection error: desc = "transport: Error while dialing dial unix:///var/run/docker/containerd/containerd.sock: timeout". Reconnecting... module=grpc failed to start daemon: error initializing graphdriver: driver not supported |
次の手
参考
https://www.xspdf.com/help/51559230.html
/etc/docker/daemon.jsonにを書いてservie restart dockerしたら行けた
1 2 3 |
{ "storage-driver": "vfs" } |