diff --git a/Ekart/scripts/stop-docker.sh b/Ekart/scripts/stop-docker.sh new file mode 100644 index 0000000..2d6018b --- /dev/null +++ b/Ekart/scripts/stop-docker.sh @@ -0,0 +1,3 @@ +#!/bin/bash +echo -e "\nStop running Docker containers with image tag ${CONTAINER_NAME}, and remove them...n" +docker stop $(docker ps -a | grep ${CONTAINER_NAME} | awk '{print $1}')