Skip to content
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

--restart option doesn't work on Ubuntu 16.04 #24

Open
galcha opened this issue Jun 28, 2016 · 1 comment
Open

--restart option doesn't work on Ubuntu 16.04 #24

galcha opened this issue Jun 28, 2016 · 1 comment

Comments

@galcha
Copy link

galcha commented Jun 28, 2016

The docker image doesn't load on system startup on Ubuntu 16.04 LTS with the command you provided :
$ docker run -d --name docker-hostmanager --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v /etc/hosts:/hosts iamluc/docker-hostmanager

It worked flawlessly on Debian 8, though.
At the moment, I have to launch docker start docker-hostmanager manually.

@iamluc
Copy link
Owner

iamluc commented Jul 3, 2016

Unfortunately it is an ubuntu or docker bug and there is nothing we could do to fix that.

Maybe it is related to systemd and docker daemon started by socket activation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants