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

Implement restart-policy handling #2290

Merged
merged 6 commits into from
Jul 30, 2016
Merged

Conversation

josegonzalez
Copy link
Member

@josegonzalez josegonzalez commented Jul 2, 2016

Applications without a restart-policy will have their policies set to on-failure:10. Users can completely unset the restart-policy using the docker-options plugin, though this will be equivalent to setting it explicitly to no.

Restart policies must be explicitly set, and the following are all valid:

  • no
  • unless-stopped
  • always
  • on-failure
  • on-failure:NUMBER

TODO:

Closes #1734

Applications without a restart-policy will have their policies set to `on-failure:10`. Users can completely unset the restart-policy using the `docker-options` plugin, though this will be equivalent to setting it explicitly to `no`.

Restart policies must be explicitly set, and the following are all valid:

- no
- unless-stopped
- always
- on-failure
- on-failure:NUMBER
@josegonzalez josegonzalez added this to the v0.7.0 milestone Jul 5, 2016
@josegonzalez josegonzalez changed the title Implement restart-policy handling. Closes #1734 Implement restart-policy handling Jul 5, 2016
@michaelshobbs
Copy link
Member

tests added

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

Successfully merging this pull request may close these issues.

None yet

2 participants