Skip to content

Instantly share code, notes, and snippets.

@kymtwyf
Created August 19, 2017 07:18
Show Gist options
  • Save kymtwyf/99be3c8c0f563a1757e5e7e037af5028 to your computer and use it in GitHub Desktop.
Save kymtwyf/99be3c8c0f563a1757e5e7e037af5028 to your computer and use it in GitHub Desktop.
docker remove images by image id
docker ps -a | grep "cfb329be3a91" | awk '{ print $1 }' | xargs docker rm`

cfb329be3a91 : the image id

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment