Update automation.sh

This commit is contained in:
Nicholas Mucks 2024-07-14 12:39:56 -07:00
parent e8f1ac5c15
commit 660778cb88

View file

@ -2,8 +2,14 @@ echo "####################################################"
echo "Stop and remove all running containers..."
echo "docker stop $(docker ps -a -q)"
echo "docker system prune -af"
docker stop $(docker ps -a -q)
docker system prune -af
# remove the stopped docker containers
docker rm -v -f $(docker ps -qa)
# uncomment this to remove the images too
# docker system prune -af
echo "####################################################"
echo "Build and run container..."