Añadir 'Ekart/scripts/stop-docker.sh'

This commit is contained in:
Lopera Mendizabal 2024-04-12 09:04:30 +00:00
parent e16e2fb978
commit b2583e6569

View File

@ -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}')