Created
July 18, 2018 19:32
-
-
Save gzagatti/6923d2cdb23d83ace9b2f63339c30ee9 to your computer and use it in GitHub Desktop.
Figure out Docker container mounts using JQ
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker inspect container | jq -r '..|.Mounts? |select(.!=null) | map(.Source)[]' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment