mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-20 14:55:50 +00:00
Update automation.sh
This commit is contained in:
parent
e8f1ac5c15
commit
660778cb88
1 changed files with 7 additions and 1 deletions
|
@ -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..."
|
||||
|
|
Loading…
Reference in a new issue