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

Container doesn't restart when host reboots #27

Open
chetstone opened this issue Mar 26, 2017 · 0 comments
Open

Container doesn't restart when host reboots #27

chetstone opened this issue Mar 26, 2017 · 0 comments

Comments

@chetstone
Copy link

With the recommended command, the container won't restart when the host reboots. When I add --restart=always to that command, the container repeatedly tries to start and fails after host reboot.

docker ps shows STATUS as Restarting (1) *n* seconds ago

$ docker logs loggly-docker
rsyslogd: pidfile '/var/run/rsyslogd.pid' and pid 1 already exist.
If you want to run multiple instances of rsyslog, you need to specify
different pid files for them (-i option).
rsyslogd: run failed with error -3000 (see rsyslog.h or try http://www.rsyslog.com/e/3000 to learn what that number means)
rsyslogd: pidfile '/var/run/rsyslogd.pid' and pid 1 already exist.

etc..

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

1 participant