Batch clean
Example | Description |
---|---|
docker stop -f $(docker ps -a -q) |
Stopping all containers |
docker rm -f $(docker ps -a -q) |
Removing all containers |
docker rmi -f $(docker images -q) |
Removing all images |
Comments
Example | Description |
---|---|
docker stop -f $(docker ps -a -q) |
Stopping all containers |
docker rm -f $(docker ps -a -q) |
Removing all containers |
docker rmi -f $(docker images -q) |
Removing all images |