You are not logged in.

#1 2017-09-07 11:05:48

B_E
Member
Registered: 2011-07-29
Posts: 3

Docker service stuck in activating, not accepting commands

Hi there,

I'm currently having an issue with Docker, where it gets completely stuck. I remember having issues with it a few months ago and me just removing everything, possibly not clearing the images though.

Running "docker start" results in the command hanging, and the service getting stuck in the activating state:

● docker.service - Docker Application Container Engine
   Loaded: loaded (/usr/lib/systemd/system/docker.service; disabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/docker.service.d
           └─docker-storage.conf, override.conf
   Active: activating (start) since Thu 2017-09-07 12:20:33 CEST; 32min ago
     Docs: https://docs.docker.com
 Main PID: 1849 (dockerd)
    Tasks: 25 (limit: 4915)
   Memory: 62.9M
      CPU: 3.585s
   CGroup: /system.slice/docker.service
           ├─1849 /usr/bin/dockerd -H fd:// -s overlay2
           └─1857 docker-containerd -l unix:///var/run/docker/libcontainerd/docker-containerd.sock --metrics-interval=0 --start-timeout 2m --state-dir /var/run/docker/libcontainerd/containerd --shim docker-conta

Sep 07 12:20:33 cyclone systemd[1]: Starting Docker Application Container Engine...
Sep 07 12:20:33 cyclone dockerd[1849]: time="2017-09-07T12:20:33.262568237+02:00" level=warning msg="libcontainerd: makeUpgradeProof could not open /var/run/docker/libcontainerd/containerd"
Sep 07 12:20:33 cyclone dockerd[1849]: time="2017-09-07T12:20:33.274737811+02:00" level=info msg="libcontainerd: new containerd process, pid: 1857"
Sep 07 12:20:34 cyclone dockerd[1849]: time="2017-09-07T12:20:34.276304338+02:00" level=warning msg="failed to rename /var/lib/docker/tmp for background deletion: rename /var/lib/docker/tmp /var/lib/docker/tmp-o
Sep 07 12:20:34 cyclone dockerd[1849]: time="2017-09-07T12:20:34.336895961+02:00" level=info msg="Graph migration to content-addressability took 0.00 seconds"
Sep 07 12:20:34 cyclone dockerd[1849]: time="2017-09-07T12:20:34.337051129+02:00" level=warning msg="Your kernel does not support cgroup rt period"
Sep 07 12:20:34 cyclone dockerd[1849]: time="2017-09-07T12:20:34.337060920+02:00" level=warning msg="Your kernel does not support cgroup rt runtime"
Sep 07 12:20:34 cyclone dockerd[1849]: time="2017-09-07T12:20:34.337293492+02:00" level=info msg="Loading containers: start."

In this state, the docker commands can connect to the unix socket, but they all simply get stuck, where nothing happens for an extended amount of time and I have to terminate the commands. This goes for all docker commands, such as "docker ls", "docker container" prune and more...

I've reinstalled docker after clearing /var/run/docker, /var/lib/docker, /etc/. My system partition is Btrfs, but I've verified there are no subvolumes left over besides the ones I expect. Is there possibly a corrupt image left somewhere, or any command I can run to get further details?

Offline

#2 2017-09-07 13:49:03

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: Docker service stuck in activating, not accepting commands

According to the docs overlayfs2 is only supported with ext4 or xfs as a backing file system. Since you are are running btrfs, have you tried that backend instead? I've been running Docker on btrfs for a couple of years with no issues.

Are you running Docker with any other modifications other than that? I see you have an override service file or two. Maybe post those as well.

Offline

Board footer

Powered by FluxBB