Skip to content

Instantly share code, notes, and snippets.

@morlay
Last active August 26, 2015 16:16
Show Gist options
  • Save morlay/f38aaa75212906c14b0b to your computer and use it in GitHub Desktop.
Save morlay/f38aaa75212906c14b0b to your computer and use it in GitHub Desktop.
# kill all docker process
docker rm $(docker ps -a -q)
# remove untaged images
docker rmi $(docker images -a | grep "^<none>" | awk '{print $3}')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment