Docker fails to start

Docker containers wrap a piece of software in a complete filesystem that contains everything needed to run: code, runtime, system tools, system libraries – anything that can be installed on a server. This guarantees that the software will always run the same, regardless of its environment.

Moderator: Lillian.W@AST

Post Reply
teecis
Posts: 4
youtube meble na wymiar Warszawa
Joined: Fri Jan 04, 2019 9:07 am

Docker fails to start

Post 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?
User avatar
Nazar78
Posts: 2003
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: Docker fails to start

Post 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.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
teecis
Posts: 4
Joined: Fri Jan 04, 2019 9:07 am

Re: Docker fails to start

Post by teecis »

Using AS5104T

your method did not work - same results
Post Reply

Return to “Docker”