added container remove add steps
This commit is contained in:
@@ -35,6 +35,14 @@
|
|||||||
shell:
|
shell:
|
||||||
cmd: docker pull registry.chiefsoft.com/pweb/pweb-01-merms-pweb0004:latest
|
cmd: docker pull registry.chiefsoft.com/pweb/pweb-01-merms-pweb0004:latest
|
||||||
|
|
||||||
|
- name: stop container is currently active
|
||||||
|
shell:
|
||||||
|
cmd: docker ps -q --filter name='*{{CONTAINER_NAME}}*' | xargs docker stop
|
||||||
|
|
||||||
|
- name: remove container is currently available
|
||||||
|
shell:
|
||||||
|
cmd: docker ps -q --filter name='*{{CONTAINER_NAME}}*' | xargs docker rm
|
||||||
|
|
||||||
- name: docker compose up
|
- name: docker compose up
|
||||||
shell:
|
shell:
|
||||||
chdir: "{{DESTINATION_FOLDER}}/"
|
chdir: "{{DESTINATION_FOLDER}}/"
|
||||||
|
|||||||
@@ -35,6 +35,14 @@
|
|||||||
shell:
|
shell:
|
||||||
cmd: docker pull registry.chiefsoft.com/pweb/pweb-01-merms-pweb0004:latest
|
cmd: docker pull registry.chiefsoft.com/pweb/pweb-01-merms-pweb0004:latest
|
||||||
|
|
||||||
|
- name: stop container is currently active
|
||||||
|
shell:
|
||||||
|
cmd: docker ps -q --filter name='*{{CONTAINER_NAME}}*' | xargs docker stop
|
||||||
|
|
||||||
|
- name: remove container is currently available
|
||||||
|
shell:
|
||||||
|
cmd: docker ps -q --filter name='*{{CONTAINER_NAME}}*' | xargs docker rm
|
||||||
|
|
||||||
- name: docker compose up
|
- name: docker compose up
|
||||||
shell:
|
shell:
|
||||||
chdir: "{{DESTINATION_FOLDER}}/"
|
chdir: "{{DESTINATION_FOLDER}}/"
|
||||||
|
|||||||
@@ -36,6 +36,14 @@
|
|||||||
shell:
|
shell:
|
||||||
cmd: docker pull registry.chiefsoft.com/pweb/pweb-01-merms-pweb0004:latest
|
cmd: docker pull registry.chiefsoft.com/pweb/pweb-01-merms-pweb0004:latest
|
||||||
|
|
||||||
|
- name: stop container is currently active
|
||||||
|
shell:
|
||||||
|
cmd: docker ps -q --filter name='*{{CONTAINER_NAME}}*' | xargs docker stop
|
||||||
|
|
||||||
|
- name: remove container is currently available
|
||||||
|
shell:
|
||||||
|
cmd: docker ps -q --filter name='*{{CONTAINER_NAME}}*' | xargs docker rm
|
||||||
|
|
||||||
- name: docker compose up
|
- name: docker compose up
|
||||||
shell:
|
shell:
|
||||||
chdir: "{{DESTINATION_FOLDER}}/"
|
chdir: "{{DESTINATION_FOLDER}}/"
|
||||||
|
|||||||
@@ -36,6 +36,14 @@
|
|||||||
shell:
|
shell:
|
||||||
cmd: docker pull registry.chiefsoft.com/pweb/pweb-01-merms-pweb0004:latest
|
cmd: docker pull registry.chiefsoft.com/pweb/pweb-01-merms-pweb0004:latest
|
||||||
|
|
||||||
|
- name: stop container is currently active
|
||||||
|
shell:
|
||||||
|
cmd: docker ps -q --filter name='*{{CONTAINER_NAME}}*' | xargs docker stop
|
||||||
|
|
||||||
|
- name: remove container is currently available
|
||||||
|
shell:
|
||||||
|
cmd: docker ps -q --filter name='*{{CONTAINER_NAME}}*' | xargs docker rm
|
||||||
|
|
||||||
- name: docker compose up
|
- name: docker compose up
|
||||||
shell:
|
shell:
|
||||||
chdir: "{{DESTINATION_FOLDER}}/"
|
chdir: "{{DESTINATION_FOLDER}}/"
|
||||||
|
|||||||
Reference in New Issue
Block a user