Skip to content

Instantly share code, notes, and snippets.

@taisyo7333
Last active June 1, 2021 08:10
Show Gist options
  • Save taisyo7333/d379149850383bb386474b770473c48e to your computer and use it in GitHub Desktop.
Save taisyo7333/d379149850383bb386474b770473c48e to your computer and use it in GitHub Desktop.

特定のdocker imageを削除したい

docker images | grep <searchable word> | sed -r 's/\s+/,/g' | cut -d ',' -f 3 | xargs docker rmi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment