Last updated 3 years ago
Was this helpful?
Stop all containers
docker stop $(docker ps -a -q)
Remove all containers
docker rm $(docker ps -a -q)
Remove all images
docker rmi $(docker images -q)
Remove all unused containers, networks, images (both dangling and unreferenced), and volumes.
docker system prune -a -f --volumes
host.docker.internal not working on linux:
host.docker.internal