Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Ubuntu 16.04.1 LTS weird error on systemctl enable docker #28781
Comments
GordonTheTurtle
added
the
version/1.12
label
Nov 23, 2016
sebamontini
changed the title from
Ubuntu 16.06 weird error on systemctl enable docker
to
Ubuntu 16.10 LTS weird error on systemctl enable docker
Nov 23, 2016
GordonTheTurtle
added
the
version/1.12
label
Nov 23, 2016
sebamontini
changed the title from
Ubuntu 16.10 LTS weird error on systemctl enable docker
to
Ubuntu 16.04.1 LTS weird error on systemctl enable docker
Nov 23, 2016
GordonTheTurtle
added
the
version/1.12
label
Nov 23, 2016
|
It looks like you have a conflict with an old upstart configuration. You may want to look around for old docker upstart script and remove them, then purge/reinstall docker. You may have to delete files that you modified manually to ensure that the correct one get reinstalled. |
mlaventure
added
the
area/project
label
Nov 28, 2016
nulladmin
commented
Dec 15, 2016
|
I ran into a similar error after upgrading a system from Ubuntu 14.04 LTS to 16.04.1 LTS and installing Docker 1.12.4. Easy if slightly time consuming to recreate. Here's the output of systemctl enable docker.
|
|
It looks like Ubuntu installs packages to migrate users from SysvInit / Upstart to systemd, also see http://askubuntu.com/questions/776524/systemctl-cannot-disable-services-displays-upstart-errors, and https://wiki.ubuntu.com/SystemdForUpstartUsers Looking at this, this doesn't look like a bug in docker, and adding additional code to take these migration scripts into account may be overreaching and out of scope for this project. I'm closing this issue, because I don't think we can address this, but I hope the links above may help you further in finding a solution. Feel free to comment after I closed! |
thaJeztah
closed this
Dec 16, 2016
CharlesB2
commented
May 11, 2017
|
Having the same issue I realized that moving the file from /etc/init.d/ to /etc/systemd/system solved the problem |
vinzBad
commented
Nov 16, 2017
|
|
sebamontini commentedNov 23, 2016
•
Edited 1 time
-
sebamontini
Nov 23, 2016
I'm installing docker engine following the doc at: https://docs.docker.com/engine/installation/linux/ubuntulinux/
everything goes well, docker installs and runs properlly, except when I try to do a:
sudo systemctl enable dockerthen I get this error:
Steps to reproduce the issue:
sudo systemctl enable dockerOutput of
docker version:Output of
docker info: