-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
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 deamon not restarted after upgrade #19478
Comments
I think I may have seen this when changing my docker configuration and running |
Actually I should add something to this. After upgrading I ran into some problems with After switching back to a previous nixpkgs set with docker 1.10.3 I could not start the docker deamon anymore:
So if I am reading this correctly the deamon failed to start because the I then disabled docker and deployed again. To my surprise the I gave up and destroyed the server and deployed again ;/ |
Looks like not restarting is intended: https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/virtualisation/docker.nix#L120 This could be reconsidered, because newer docker version can support restarting |
The second error you reported here is most likely because two instances running at the same time. |
@NeQuissimus |
Issue description
I ran an a deployment that updated
docker
from1.10.3
to1.12.1
. After the deployment I noticed that I was running into an error:It turned out that the old docker deamon version was still running. After running
systemctl restart docker
the correct docker deamon version was running. Oddly enough I also had to dosystemctl restart docker.socket
because the socket was missing.Steps to reproduce
Not sure how to reproduce this.. i updated an existing nixops controlled server to 16.09 and the above happened.
Technical details
The text was updated successfully, but these errors were encountered: