-
-
Notifications
You must be signed in to change notification settings - Fork 792
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
docker_container action redeploy should not start container which have never run #432
Comments
Indeed I would! Thanks! On Thu, Sep 17, 2015 at 11:09 AM, Julien Pervillé [email protected]
|
Fixed in PR #437. |
Docker containers are declared either with
action :create
oraction :run
(which is a shortcut to mean "create then start"). When a container has been created (never started) and then redeployed, I'd likeaction :redeploy
to not start the container.In other words, I'd like action redeploy to:
So that the running state of the container after the redeploy is the same as it was before it.
In the current version (1.0.25), the docker_container
action :redeploy
is implemented like this:In the older version (0.37) it has been implemented like this:
Would you take a PR to restore the behavior of version 0.37 (which was introduced in #242).
From reading the code, I know that I can tell if a container is running like this:
The text was updated successfully, but these errors were encountered: