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

Added docker_container 'restart' attribute (no, on-failure, always). #238

Merged

Conversation

jperville
Copy link
Contributor

Since docker 1.2.0, automatic restart of containers is no longer done with a global daemon option #237 but with explicit restart policies. This PR adds a new restart attribute to the docker_container LWRP.

Attention: for a given container, the restart and init_type attributes should be incompatible.

@tduffield
Copy link
Contributor

Looks good. Merged.

tduffield pushed a commit that referenced this pull request Nov 19, 2014
…bute

Added docker_container 'restart' attribute (no, on-failure, always).
@tduffield tduffield merged commit 631d39b into sous-chefs:master Nov 19, 2014
@jperville jperville deleted the container-restart-policy-attribute branch September 21, 2015 15:53
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

Successfully merging this pull request may close these issues.

2 participants