You are not logged in.

#1 2017-12-03 19:04:17

irrlicht
Member
Registered: 2010-12-06
Posts: 107

[SOLVED]docker is not responding

Hello guys!

I have a trouble with fully upgraded Arch and docker.

What i got:

Docker is running:

systemctl status docker
● docker.service - Docker Application Container Engine
   Loaded: loaded (/etc/systemd/system/docker.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2017-12-03 17:24:43 CET; 2h 29min ago
     Docs: https://docs.docker.com
 Main PID: 361 (docker)
    Tasks: 5 (limit: 4915)
   CGroup: /system.slice/docker.service
           └─361 /usr/bin/docker -d -H fd://


However running any command even with root (e.g. docker ps, docker info...) is just hanging until crtl+c is hit with no output at all.

Here is the output from strace docker info: https://pastebin.com/0n5FCLTP

Do you have any hints? Thank you!

Last edited by irrlicht (2017-12-04 21:04:06)


Everything less than immortality is a complete waste of time!

Offline

#2 2017-12-03 21:12:47

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

Re: [SOLVED]docker is not responding

Why is your docker service running with the '-d' option? Near as I can tell, that option no longer exists. What version are you running?

docker info

Edit: do you have any systemd override files for docker in /etc/systemd/system/docker.service.d ? The stock service file in /usr/lib/systemd/service/docker.service doesn't have the '-d' option.

Last edited by firecat53 (2017-12-03 21:15:31)

Offline

#3 2017-12-04 21:02:53

irrlicht
Member
Registered: 2010-12-06
Posts: 107

Re: [SOLVED]docker is not responding

Thanks firecat53,

i didn't overridden any service file related to docker. "docker info" is hanging without of any input as any other docker * command will do.  Wasn't using docker for a long time and i think the docker.service wasn't upgraded in process of pacman -Syu since a long time.

ls -alh /etc/systemd/system/docker.service
-rw------- 1 root root 313  8. Jul 2015  /etc/systemd/system/docker.service

This is how the original file is looks like:

[Unit]
Description=Docker Application Container Engine
Documentation=https://docs.docker.com
After=network.target docker.socket
Requires=docker.socket

[Service]
ExecStart=/usr/bin/docker -d -H fd://
MountFlags=slave
LimitNOFILE=1048576
LimitNPROC=1048576
LimitCORE=infinity

[Install]
WantedBy=multi-user.target

After replacing the docker.service with the recent one docker is working again. Thank you!


Everything less than immortality is a complete waste of time!

Offline

#4 2017-12-04 21:22:05

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

Re: [SOLVED]docker is not responding

You should remove any copies or links to the service file in /etc/systemd. The default file in /usr/lib/systemd will be used and updated automatically.

Offline

Board footer

Powered by FluxBB