Docker Community Forums

Share and learn in the Docker community.

Docker Hell on btrfs

I can’t pull anything off of docker. Used too before. I reboot and I only get access once afterward I attempt to interact with docker all of these errors come up. Some help would appreciated.

mount
/dev/sda1 on /var/lib/docker/btrfs type btrfs (rw,noatime,compress=lzo,ssd,discard,space_cache,subvolid=257,subvol=/@/var/lib/docker/btrfs)
shm on /var/lib/docker/containers/208162eb247b3114d33e0234100c2faa268752d2996353bb2a6ea7fc2d770198/mounts/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=65536k)
nsfs on /run/docker/netns/952ff6b591bc type nsfs (rw)

lsblk -f
NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
├─sda1 btrfs 018f1996-eca7-45f9-9ba1-aacd35b78bce 421.2G 9% /
├─sda2 swap bada303f-54f6-4b25-b359-2e3eb750a0d6 [SWAP]
└─sda3 vfat D899-45EB 510.6M 0% /boot/efi

journalctl -x
Jul 08 10:04:09 manjaro dockerd[867]: time=“2019-07-08T10:04:09.544481041-04:00” level=info msg=“Attempting next endpoint for pull after error: failed to register layer: ApplyLayer exit status 1 stdout: stderr: Error cleaning up after pivot: remove /.pivot_root589201217: device or resource busy”

docker info
Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.39/info: dial unix /var/run/docker.sock: connect: permission denied

sudo docker info
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

systemctl status docker.service
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: active (running) since Mon 2019-07-08 10:00:42 EDT; 33min ago
Docs: https://docs.docker.com
Main PID: 867 (dockerd)
Tasks: 62 (limit: 4915)
Memory: 243.4M
CGroup: /system.slice/docker.service
├─ 867 /usr/bin/dockerd -H fd://
├─ 892 containerd --config /var/run/docker/containerd/containerd.toml --log-level info
├─1124 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 61209 -container-ip 172.17.0.2 -container-port 61209
├─1137 /usr/bin/docker-proxy -proto tcp -host-ip 0.0.0.0 -host-port 61208 -container-ip 172.17.0.2 -container-port 61208
├─1144 containerd-shim -namespace moby -workdir /var/lib/docker/containerd/daemon/io.containerd.runtime.v1.linux/moby/208162eb247b3114d33e0234100c2faa268752d2996353bb2a6ea7fc2d770198 -addr>
├─1162 /bin/sh -c python -m glances -C /glances/conf/glances.conf $GLANCES_OPT
└─1200 python -m glances -C /glances/conf/glances.conf -w

Jul 08 10:00:41 manjaro dockerd[867]: time=“2019-07-08T10:00:41.583260947-04:00” level=warning msg=“Your kernel does not support cgroup blkio weight_device”
Jul 08 10:00:41 manjaro dockerd[867]: time=“2019-07-08T10:00:41.584180183-04:00” level=info msg=“Loading containers: start.”
Jul 08 10:00:42 manjaro dockerd[867]: time=“2019-07-08T10:00:42.030821316-04:00” level=info msg=“Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used>
Jul 08 10:00:42 manjaro dockerd[867]: time=“2019-07-08T10:00:42.222775351-04:00” level=info msg=“shim containerd-shim started” address=”/containerd-shim/moby/208162eb247b3114d33e0234100c2faa268752d29>
Jul 08 10:00:42 manjaro dockerd[867]: time=“2019-07-08T10:00:42.821711009-04:00” level=info msg=“Loading containers: done.”
Jul 08 10:00:42 manjaro dockerd[867]: time=“2019-07-08T10:00:42.833318055-04:00” level=info msg=“Docker daemon” commit=2d0083d657 graphdriver(s)=btrfs version=18.09.7-ce
Jul 08 10:00:42 manjaro dockerd[867]: time=“2019-07-08T10:00:42.833643384-04:00” level=info msg=“Daemon has completed initialization”
Jul 08 10:00:42 manjaro dockerd[867]: time=“2019-07-08T10:00:42.848043529-04:00” level=info msg=“API listen on /run/docker.sock”
Jul 08 10:00:42 manjaro systemd[1]: Started Docker Application Container Engine.
Jul 08 10:04:09 manjaro dockerd[867]: time=“2019-07-08T10:04:09.544481041-04:00” level=info msg="Attempting next endpoint for pull after error: failed to register layer: ApplyLayer exit status 1 stdo>

Thanks for your time and attention,