Search code snippets, questions, articles...

Useful docker commands

Source link for more information : https://typeofnan.dev/how-to-stop-all-docker-containers/
# Stop all docker containers
    docker kill $(docker ps -q)
# Remove all docker containers
    docker rm $(docker ps -a -q)
# Remove all docker images
    docker rmi $(docker images -q)
Was this helpful?
0 Comments
Programming Feeds
Learn something new everyday on Devsheet