-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker daemon and Containerd dockerd out of sync in 18.09 #421
Comments
Possibly related to the initial crash. Dockerd spams the logs with:
Adding |
@deft-code Thanks this solution helped. |
I can confirm the fix in tp5 fixed the docker portion of the issue. We're still seeing problems but it looks like |
After updating docker-ce + kernel on my Fedora 28 box, docker stopped working. failed to find runc binary I launched a find command and found the runc executable under After doing this the service could be started using systemctl |
When rebooting without the platform_reboot plugin, systemd takes a few minutes to properly shutdown. It's blocking on some docker cleanup operation. As described by docker/for-linux#421 there is a race between docker.service and containerd.service. docker needs containerd to properly stop the containers.
When rebooting without the platform_reboot plugin, systemd takes a few minutes to properly shutdown. It's blocking on some docker cleanup operation. As described by docker/for-linux#421 there is a race between docker.service and containerd.service. docker needs containerd to properly stop the containers.
When rebooting without the platform_reboot plugin, systemd takes a few minutes to properly shutdown. It's blocking on some docker cleanup operation. As described by docker/for-linux#421 there is a race between docker.service and containerd.service. docker needs containerd to properly stop the containers.
Docker should start after containerd and stop before it. See: docker/for-linux#421 Without fix shutting down Raspi takes many minutes and reboot fails completely.
Docker should start after containerd and stop before it. See: docker/for-linux#421 Without fix shutting down Raspi takes many minutes and reboot fails completely.
Docker should start after containerd and stop before it. See: docker/for-linux#421 Without fix shutting down Raspi takes many minutes and reboot fails completely.
We're seeing two bad behaviors. For some reason dockerd is failing (crashing?) when first installed. Second when dockerd crashes it is unable to restart due to the containerd task "dockerd" still running.
Expected behavior
Actual behavior
Steps to reproduce the behavior
On a clean vm install the latest docker-ce version
immediately try to use docker (in our case docker ps).
The socket is bad so we attempt to restart the daemon.
We can manually reproduce the problem killing the dockerd daemon with SIGKILL.
kill -9 <PID of /usr/bin/dockerd>
Output of
docker version
:Output of
docker info
:Additional environment details (AWS, VirtualBox, physical, etc.)
I've attached the whole out of the commands to we when we encountered the problem. Much of the file is just noise. However You can can see that docker and containerd were not previously installed and that immediately after install docker commands could not find the socket.
If we manually recover the VM it works fine thereafter (e.g. we can't manually reproduce the issue). I suspect it there is something of a race between docker.service and containerd's dockerd task.
output.txt
The text was updated successfully, but these errors were encountered: