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

new attribute to specify if docker should restart containers or not #180

Merged
merged 3 commits into from
Jul 23, 2014
Merged

new attribute to specify if docker should restart containers or not #180

merged 3 commits into from
Jul 23, 2014

Conversation

failshell
Copy link
Contributor

  • added attribute to reflect all other possible CLI parameters. Either
    true or false. Seems more straight foward, and also follow the rest of
    the attributes patern.

- added attribute to reflect all other possible CLI parameters. Either
  true or false. Seems more straight foward, and also follow the rest of
  the attributes patern.
@bflad
Copy link
Contributor

bflad commented Jul 10, 2014

I'll merge this as an enhancement for 1.0.0, but would like to slightly change the behavior so it defaults to nil (so Docker does its default behavior of true) unless container_init_type is set, then default to false.

bflad added a commit that referenced this pull request Jul 23, 2014
new attribute to specify if docker should restart containers or not
@bflad bflad merged commit 6581926 into sous-chefs:master Jul 23, 2014
@jperville
Copy link
Contributor

For information, this option has been deprecated since docker 1.2.0 and is now ignored by the daemon. The default behavior of docker is to not restart containers automatically unless a restart policy has been defined with docker run --restart. See #237.

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.

3 participants