docker_deploy 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/docker_deploy/task.rb +1 -1
- data/lib/docker_deploy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c3d2b3a9b0a67da7951adfbc01f3db53333e2a9
|
4
|
+
data.tar.gz: 9bc2556b0b346abb57f50b98a37ae0b33d6efb51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb7dac4efc0772bc95e2d32b96b322db9c781662062cd0cefee924d0520f0e7bcf2b5c0b29f835cb9ff78d03eb810b1947263f73f76c776a76a1a6de54363b33
|
7
|
+
data.tar.gz: dc173f9148a3801d46f8389f804367f5e05a31f82aeb96518cf86f90185cc2715d7f9e801275d3e796fc71cf4379e92b98197ec956c1b7a5e4516fbc173cf573
|
data/lib/docker_deploy/task.rb
CHANGED
@@ -31,7 +31,7 @@ module DockerDeploy
|
|
31
31
|
|
32
32
|
desc "Stop the application and remove its container"
|
33
33
|
task :stop do
|
34
|
-
stage.run "docker inspect #{stage.container} 2>&1 > /dev/null && docker
|
34
|
+
stage.run "docker inspect #{stage.container} 2>&1 > /dev/null && docker kill #{stage.container} && docker rm #{stage.container} || true"
|
35
35
|
end
|
36
36
|
|
37
37
|
desc "Start the application in a container using the latest image."
|