Editing Docker inspect
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
* http://manpages.ubuntu.com/manpages/disco/man1/docker-inspect.1.html | * http://manpages.ubuntu.com/manpages/disco/man1/docker-inspect.1.html | ||
* https://docs.docker.com/engine/reference/commandline/inspect/ | * https://docs.docker.com/engine/reference/commandline/inspect/ | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 27: | Line 14: | ||
== Volumes and mounts == | == Volumes and mounts == | ||
* List of mounts: <ref>https://stackoverflow.com/questions/30133664/how-do-you-list-volumes-in-docker-containers</ref> | * List of mounts: <ref>https://stackoverflow.com/questions/30133664/how-do-you-list-volumes-in-docker-containers</ref> | ||
− | + | docker inspect -f '{{ .Mounts }}' CONTAINER_NAME | |
− | + | docker inspect -f '{{ json .Mounts }}' CONTAINER_NAME | jq . | |
− | + | docker inspect -f '{{ json .Mounts }}' CONTAINER_NAME | python -m json.tool | |
See also: <code>[[docker volume inspect]]</code> | See also: <code>[[docker volume inspect]]</code> | ||
Line 55: | Line 42: | ||
== OOM == | == OOM == | ||
{{Docker inspect OOM}} | {{Docker inspect OOM}} | ||
− | |||
− | |||
− | |||
== Related commands == | == Related commands == | ||
Line 63: | Line 47: | ||
* <code>[[docker container inspect]]</code> | * <code>[[docker container inspect]]</code> | ||
* <code>[[docker volume inspect]]</code> | * <code>[[docker volume inspect]]</code> | ||
− | |||
== See also == | == See also == | ||
* {{docker inspect}} | * {{docker inspect}} | ||
* {{docker cmd}} | * {{docker cmd}} | ||
+ | * {{docker}} | ||
+ | |||
− | [[Category: | + | [[Category:Cloud computing]] |
+ | [[Category:Software development]] | ||
+ | [[Category:Server administration]] | ||
{{CC license}} | {{CC license}} | ||
Original Source: https://en.wikiversity.org/wiki/DevOps/Docker/docker_inspect | Original Source: https://en.wikiversity.org/wiki/DevOps/Docker/docker_inspect |
Advertising: