Skip to content

Commit a273b66

Browse files
author
afabiani
committed
[Hardening] couple of utility shell scripts to run/stop docker
1 parent 20c6d38 commit a273b66

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docker-build.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docker-compose build --no-cache; docker-compose stop; docker-compose up -d; docker system prune -a

docker-purge.sh

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docker kill $(docker ps -q); docker rm $(docker ps -a -q); docker rmi $(docker images -q); docker volume ls -qf dangling=true | xargs -r docker volume rm; docker system prune -a

0 commit comments

Comments
 (0)