Skip to content

Instantly share code, notes, and snippets.

@sugumura
Created February 25, 2020 05:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sugumura/7e8bf61c275f9481c3862d4739157e09 to your computer and use it in GitHub Desktop.
Save sugumura/7e8bf61c275f9481c3862d4739157e09 to your computer and use it in GitHub Desktop.
dockerの無名volumeを消したいとき
# bash
$ docker volume rm $(docker volume ls -q | awk -F, 'length($0) == 64 { print }')

# fish
$ docker volume rm (docker volume ls -q | awk -F, 'length($0) == 64 { print }')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment