Useful docker commands

stop all containers:

docker kill $(docker ps -q)

remove all containers

docker rm $(docker ps -a -q)

remove all docker images

docker rmi $(docker images -q)

Tags: #docker
Sep 2021, 12.

 

My next events:
🗓 Dec 12 16:00 Micronaut Essentials
🗓 Dec 13 16:00 Micronaut Essentials
🗓 Dec 14 16:00 Micronaut Essentials
🗓 Dec 15 16:00 Micronaut Essentials