Skip to content

Instantly share code, notes, and snippets.

@luisehk
Last active September 20, 2017 18:01
Show Gist options
  • Save luisehk/5b206ce6225b1064993933d4150865d1 to your computer and use it in GitHub Desktop.
Save luisehk/5b206ce6225b1064993933d4150865d1 to your computer and use it in GitHub Desktop.
List docker volume mountpoints and their directories
docker volume ls -q | xargs -r docker volume inspect | grep 'Mountpoint' | cut -c 24-200 | rev | cut -c 3-200 | rev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment