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

Auto start containers on system reboot (run script) #39

Open
esilvaju opened this issue Oct 21, 2018 · 1 comment
Open

Auto start containers on system reboot (run script) #39

esilvaju opened this issue Oct 21, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@esilvaju
Copy link
Contributor

Add feature to auto start containers on system reboot:

on run script add: --restart unless-stopped

Reference: https://docs.docker.com/config/containers/start-containers-automatically/#use-a-restart-policy

@esilvaju esilvaju added the enhancement New feature or request label Oct 21, 2018
@esilvaju esilvaju added this to the 1.16.4/2.5.13-1-origins milestone Oct 21, 2018
@esilvaju esilvaju self-assigned this Oct 21, 2018
@maany
Copy link
Member

maany commented Oct 25, 2019

There can be several ways of doing this. The config master could run a periodic health check and restart containers that are dead or we somehow modify init.scripts such that they work as entrypoints inside the containers. We need to run init.sh after each container reboot somehow

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

No branches or pull requests

2 participants