Your ads will be inserted here by
Easy AdSense.
Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.
After fiddling around with docker a bit I wanted to delete all the containers I had accumulated during the tutorial. Maybe there is a quicker way to do it, but it also worked with awk.
sudo docker ps -a | \ # list all containers running and stopped awk 'BEGIN { FS=" [ ]+" }; { print $6 }' | \ # use at least two spaces as separator awk '{ if (NR!=1) {print}}' | \ # strip first line xargs sudo docker rm # apply docker removal command |
Leave a Reply