moby: Can't start with systemctl - actually, no errors, it just hangs on everything
I seen the issue template, but I can’t give nothing of wanted. Only a fiew things.
- I’m on fully upgraded ArchLinux, 64bit processor
- Installed docker via pacman
pacman -S docker
- no problems - Enabled via
systemctl enable docker.service
, reboot - Added my username to docker group
sudo usermod -aG docker $(whoami)
, reboot - Just hangs on
docker info
,docker version
and even whensystemctl start docker
, etc. - The result of
systemctl status docker.service
isActive: activating (start)
● docker.service - Docker Application Container Engine
Loaded: loaded (/usr/lib/systemd/system/docker.service; enabled; vendor preset: disabled)
Active: activating (start) since Mon 2016-06-06 04:25:51 EEST; 27min ago
Docs: https://docs.docker.com
Main PID: 317 (docker)
Tasks: 7 (limit: 512)
Memory: 35.3M
CPU: 276ms
CGroup: /system.slice/docker.service
└─317 /usr/bin/docker daemon -H fd://
Jun 06 04:41:11 voltaire docker[317]: --debug enable debug output in the logs
Jun 06 04:41:11 voltaire docker[317]: --state-dir "/run/containerd" runtime state directory
Jun 06 04:41:11 voltaire docker[317]: --metrics-interval "5m0s" interval for flushing metrics to the store
Jun 06 04:41:11 voltaire docker[317]: --listen, -l "/run/containerd/containerd.sock" Address on which GRPC API will listen
Jun 06 04:41:11 voltaire docker[317]: --runtime, -r "runc" name of the OCI compliant runtime to use when executing containers
Jun 06 04:41:11 voltaire docker[317]: --graphite-address Address of graphite server
Jun 06 04:41:11 voltaire docker[317]: --help, -h show help
Jun 06 04:41:11 voltaire docker[317]: --version, -v print the version
Jun 06 04:41:11 voltaire docker[317]:
Jun 06 04:41:11 voltaire docker[317]: time="2016-06-06T04:41:11+03:00" level=fatal msg="flag provided but not defined: -start-timeout"
Permissions
% ❯ sudo ls -al /var/run/ | grep docker June 06, 04:57:54
drwx------ 3 root root 60 Jun 6 04:25 docker
-rw-r--r-- 1 root root 3 Jun 6 04:25 docker.pid
srw-rw---- 1 root docker 0 Jun 6 04:25 docker.sock
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 21
- Comments: 15
same issue
The packages in the repo’s have been updated both runc and containerd have the last version now, happy updating 😃
If you are more adventerous you can just build containerd 0.2.2 locally and all works fine.
get the pkgbuild from https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/containerd
change the version to 0.2.2 and run
makepkg
install it with pacman -U containerd… and restart your docker daemon
It seems to be an Arch Linux specific bug. I have found this bug report on Arch Linux bug tracker: https://bugs.archlinux.org/task/49582
Not necessarily downgrader. Just go to
/var/cache/pacman/pkg/
and use# pacman -U docker-1:1.11.1-1-x86_64.pkg.tar.xz
.@mmoya Its a known issue, Arch Linux must update docker to 1.12 https://github.com/docker/containerd/issues/299