Update arke.yml to include an rm step for arke docker containers.

This commit is contained in:
jowj 2018-10-07 17:42:19 -05:00
parent 718e81acc5
commit 789f9ecc97

View File

@ -13,5 +13,8 @@
- name: Check if there are any existing arke containers running and kill it
# this has to be a shell because command: isn't interactive
shell: docker ps | grep 'arke' | awk '{print $1}' | xargs docker kill
- name: Remove any existing containers using the arke name, its mine and i must have it
# this has to be a shell because command: isn't interactive
shell: docker container rm arke
- name: Run the newly built docker container
command: docker run -d --name arke --mount source=towervol,target=/shared/ arke:latest