It is currently Tue Apr 20, 2021 10:34 pm
All times are UTC + 8 hours

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.

Docker fails to start

Postby teecis » Mon Aug 31, 2020 1:49 pm

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?
teecis
 
Posts: 4
Joined: Fri Jan 04, 2019 9:07 am

Re: Docker fails to start

Postby Nazar78 » Wed Sep 02, 2020 2:36 am

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 - [40TB N300 RAID10 + 5 Bay USB: 8TB RAID5 & 480GB SSD for Apps]
User avatar
Nazar78
 
Posts: 287
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore

Re: Docker fails to start

Postby teecis » Wed Sep 02, 2020 12:20 pm

Using AS5104T

your method did not work - same results
teecis
 
Posts: 4
Joined: Fri Jan 04, 2019 9:07 am

Return to Docker

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest