docker: failed to register layer: unknown file type for /var/lib/docker/overlay
Closed this issue · 5 comments
KiaraGrouwstra commented
$ docker pull andrey01/steam
failed to register layer: unknown file type for /var/lib/docker/overlay/e18e667f5559d911a6851eebd8ae0acf528e719fc33e58b826c7e39a3e82b023/root/dev/full
$ docker pull kalilinux/kali-linux-docker
$ docker pull nvcr.io/nvidia/rapidsai/rapidsai
$ docker pull nvcr.io/partners/mapd:3.2.2
$ docker pull nvcr.io/nvidia/tensorflow:19.03-py3
$ docker pull nvcr.io/nvidia/mxnet:19.03-py3
$ cd docker-wine-steam
$ bash ./builder.sh
Can't add file to tar: archive/tar: sockets not supported
# https://unix.stackexchange.com/questions/437606/cant-add-file-to-tar-archive-tar-sockets-not-supported?rq=1
# retry:
failed to register layer: unknown file type for /var/lib/docker/overlay/3c8076775dee9487a822d79a18ba6391019620905745de1ecd4f993a335ef1d3/root/dev/full
# $ bash ./launcher.sh
KiaraGrouwstra commented
this maybe had to do with my gnome branches not yet having commented the docker root path line.
KiaraGrouwstra commented
nope, wasn't it. search hits suggested different file systems or linux kernels. the latter sounds plausible. that'd sound like a wider issue yet not seeing hits on nixpkgs, hm.
KiaraGrouwstra commented
$ ls /var/lib/docker/
$ sudo chown -R tycho /var/lib/docker
$ sudo chmod -R 0700 /var/lib/docker
... I'm getting the impression the ownership/permissions of my /var/lib/docker/
and subdirectories are messed up in general. it also feels like these commands haven't quite fixed it recursively. wonder if there's a nice way to fix these.
KiaraGrouwstra commented
my nix config has docker.storageDriver = "overlay";
, which seems like the obvious culprit.
KiaraGrouwstra commented
commenting that fixed it.