Last active
March 30, 2017 08:53
-
-
Save jamesattard/6f0fa4bda1f5ecab7b82c25d9c837746 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 containerid | |
| ... | |
| "Mounts": [ | |
| { | |
| "Type": "bind", | |
| "Source": "/var/mysql", | |
| "Destination": "/mysql_data", | |
| "Mode": "rw", | |
| "RW": true, | |
| "Propagation": "rprivate" | |
| } | |
| ] | |
| ... | |
| # Alternatively: | |
| $ docker inspect -f '{{ .Mounts }}' 5776d1849024 | |
| [{bind /var/mysql /mysql_data rw true rprivate}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment