9 lines
160 B
Bash
Executable File
9 lines
160 B
Bash
Executable File
docker kill $(docker ps -q);
|
|
docker network prune -f;
|
|
if [[ $1 == "hard" ]]
|
|
then
|
|
docker system prune -f -a --volumes;
|
|
else
|
|
docker system prune -f --volumes;
|
|
fi
|