Page 1 of 1

Docker fails to start

Posted: Mon Aug 31, 2020 1:49 pm
by teecis
Having lot of problems with Docker lately.

Used to run just fine, then broke, just did complete factory reset of NAS and still getting errors and unable to start Docker.

1) INFO[2020-08-31T07:41:21.322463800+02:00] Starting up
failed to start daemon: pid file found, ensure docker is not running or delete /var/run/docker.pid
I delete docker.pid

2) failed to start containerd: timeout waiting for containerd to start. I delete /var/run/docker/containerd/containerd.pid

3) ERRO[2020-08-31T07:45:43.718352252+02:00] failed to process event container=1e1500b27dc812c345aba812693abdbc428471cba32e6a52f83ca5eb2d698033 error="could not find container 1e1500b27dc812c345aba812693abdbc428471cba32e6a52f83ca5eb2d698033: No such container: 1e1500b27dc812c345aba812693abdbc428471cba32e6a52f83ca5eb2d698033" event=exit event-info="{1e1500b27dc812c345aba812693abdbc428471cba32e6a52f83ca5eb2d698033 1e1500b27dc812c345aba812693abdbc428471cba32e6a52f83ca5eb2d698033 15424 1 2020-08-31 05:45:43.680937033 +0000 UTC false <nil>}" module=libcontainerd namespace=moby

4) I reestart NAS and run dockerd again - hangs one API listen on /var/run/docker.sock

5) I run dockerd --debug and get a lot of stuff, but errors from that are:
could not change group /var/run/docker.sock to docker: group docker not found
failed to load plugin io.containerd.snapshotter.v1.btrfs error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter"
failed to load plugin io.containerd.snapshotter.v1.aufs error="aufs is not supported"
could not use snapshotter zfs in metadata plugin error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin"
could not use snapshotter btrfs in metadata plugin error="path /var/lib/docker/containerd/daemon/io.containerd.snapshotter.v1.btrfs must be a btrfs filesystem to be used with the btrfs snapshotter"
could not use snapshotter aufs in metadata plugin error="aufs is not supported"

Running modprobe bridge br_netfilter failed with message: modprobe: invalid option -- 'a'
BusyBox v1.19.3 (2020-08-12 01:00:19 CST) multi-call binary.

Running iptables --wait -t nat -L -n failed with message: `iptables v1.4.13: unknown option "--wait"
Try `iptables -h' or 'iptables --help' for more information.`, error: exit status 2

Could not load necessary modules for Conntrack: Running modprobe nf_conntrack failed with message: `modprobe: invalid option -- 'a'
BusyBox v1.19.3 (2020-08-12 01:00:19 CST) multi-call binary.

Could not get operating system name: Error opening /usr/lib/os-release: open /usr/lib/os-release: no such file or directory

now it just hangs and nothing happens on API listen on /var/run/docker.sock unless I ctrl+c it.

I have done factory reset, and this tells me that factory reset did not touch docker at all

Question is - how do I remove and reinstall Docker from scratch or how do I troubleshoot this problem?

Re: Docker fails to start

Posted: Wed Sep 02, 2020 2:36 am
by Nazar78
Still quite new to Asustor, I've never tried factory reset before really it doesn't touch the docker app?

Which NAS are you using?

Try removing it:

Code: Select all

sudo apkg --remove docker-ce
Reboot then reinstall from the app central.

Re: Docker fails to start

Posted: Wed Sep 02, 2020 12:20 pm
by teecis
Using AS5104T

your method did not work - same results