5 lines
205 B
Bash
Executable File
5 lines
205 B
Bash
Executable File
docker ps -a | grep 'Exited' | awk '{print $1}' | xargs docker stop
|
|
docker ps -a | grep 'Exited' | awk '{print $1}' | xargs docker rm
|
|
docker image ls | grep '<none>' | awk '{print $3}' | xargs docker rmi
|
|
|