After few hours playing with docker basics, I'm front of the necessity to kill all of my container like another newbie on something used the scratch (go horse) way ONE by ONE 😱
docker rm c582332ca41c #container_id
docker stop c582332ca41c #container_id
Best way to 🔪💀 containers
You'll need 3 pounds of plutonium for our yellow cake ☢️
...
hold on, I'm just kidding 🤣
...
Nothing much just our good old terminal
docker rm $(docker ps -aq)
# is the same for stopping command
docker stop $(docker ps -aq)
- -a: list all container
- -q: quite mode
Top comments (0)