Skip to content

Instantly share code, notes, and snippets.

@Horaddrim
Last active January 22, 2018 20:30
Show Gist options
  • Save Horaddrim/2547a83c720ab58611fc6fbfa4be3ed7 to your computer and use it in GitHub Desktop.
Save Horaddrim/2547a83c720ab58611fc6fbfa4be3ed7 to your computer and use it in GitHub Desktop.
for containerId in `sudo docker ps -a | awk '{print $1}'`
do
echo ${containerId}
sudo docker rm $containerId
done
echo 'All cleaned pawn! :D'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment