{"id":48442,"date":"2025-02-08T08:36:33","date_gmt":"2025-02-08T08:36:33","guid":{"rendered":"https:\/\/www.devopsschool.com\/blog\/?p=48442"},"modified":"2025-07-12T05:38:41","modified_gmt":"2025-07-12T05:38:41","slug":"docker-inspect-2","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/docker-inspect-2\/","title":{"rendered":"Docker commands Guide &#8211; docker inspect with examples"},"content":{"rendered":"\n<p>Here\u2019s a <strong>complete tutorial<\/strong> on <code>docker inspect<\/code>, covering <strong>what it does<\/strong>, <strong>examples<\/strong>, and <strong>use cases<\/strong>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is <code>docker inspect<\/code>?<\/strong><\/h2>\n\n\n\n<p><code>docker inspect<\/code> is a Docker command that <strong>retrieves detailed information<\/strong> about Docker objects, such as <strong>containers, images, networks, and volumes<\/strong>. It returns the <strong>full JSON-formatted metadata<\/strong>, including configuration, network settings, resource usage, and more.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Key Features:<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Retrieves <strong>deep insights<\/strong> into Docker objects.<\/li>\n\n\n\n<li>Helps in <strong>troubleshooting and debugging<\/strong> containers and networks.<\/li>\n\n\n\n<li>Supports <strong>filtering and formatting<\/strong> the output for specific fields.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Basic Syntax<\/strong><\/h2>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">docker inspect &#91;OPTIONS] NAME|ID &#91;NAME|ID...]\n<\/code><\/span><\/pre>\n\n\n<h3 class=\"wp-block-heading\"><strong>Common Options:<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>-f<\/code>, <code>--format<\/code>: Format the output using Go templates (<code>{{.State.Status}}<\/code>).<\/li>\n\n\n\n<li><code>--type<\/code>: Specify the object type (<code>container<\/code>, <code>image<\/code>, <code>network<\/code>, or <code>volume<\/code>).<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Examples of <code>docker inspect<\/code><\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. Inspect a Running Container<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">docker inspect my_container\n<\/code><\/span><\/pre>\n\n\n<p>This returns a JSON document containing detailed information about <code>my_container<\/code>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. Inspect an Image<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"CSS\" data-shcb-language-slug=\"css\"><span><code class=\"hljs language-css\"><span class=\"hljs-selector-tag\">docker<\/span> <span class=\"hljs-selector-tag\">inspect<\/span> <span class=\"hljs-selector-tag\">nginx<\/span><span class=\"hljs-selector-pseudo\">:latest<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">CSS<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">css<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>This shows metadata about the <code>nginx:latest<\/code> image, such as the layers, commands used to build it, and environment variables.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. Inspect a Network<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">docker inspect my_custom_network\n<\/code><\/span><\/pre>\n\n\n<p>This returns network configuration details like <strong>subnet, gateway, and connected containers<\/strong>.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4. Inspect a Volume<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">docker inspect my_data_volume\n<\/code><\/span><\/pre>\n\n\n<p>This provides information about the volume, including its mount point and usage.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5. Format the Output to Show a Specific Field<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-2\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">docker inspect -f <span class=\"hljs-string\">'{{.State.Status}}'<\/span> my_container\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-2\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><strong>Example Output:<\/strong><\/p>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">running\n<\/code><\/span><\/pre>\n\n\n<p>This extracts the container\u2019s <strong>status<\/strong> (running, exited, etc.).<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>6. Show Container\u2019s IP Address<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-3\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">docker inspect -f <span class=\"hljs-string\">'{{.NetworkSettings.IPAddress}}'<\/span> my_container\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-3\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><strong>Example Output:<\/strong><\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-4\" data-shcb-language-name=\"CSS\" data-shcb-language-slug=\"css\"><span><code class=\"hljs language-css\">172<span class=\"hljs-selector-class\">.17<\/span><span class=\"hljs-selector-class\">.0<\/span><span class=\"hljs-selector-class\">.2<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-4\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">CSS<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">css<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>7. Show the Base Image of a Container<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-5\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">docker inspect -f <span class=\"hljs-string\">'{{.Config.Image}}'<\/span> my_container\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-5\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>8. Check the Mount Point of a Volume<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-6\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">docker inspect -f <span class=\"hljs-string\">'{{.Mountpoint}}'<\/span> my_data_volume\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-6\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>9. Use JSON Formatting for Better Readability<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-7\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">docker inspect my_container | jq <span class=\"hljs-string\">'.'<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-7\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>This pipes the JSON output to <code>jq<\/code> for pretty-printing and easier reading.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>10. Inspect Multiple Containers at Once<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\"><span><code class=\"hljs\">docker inspect my_container1 my_container2\n<\/code><\/span><\/pre>\n\n\n<p>This returns JSON data for both containers.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>11. Filter Containers with Specific Metadata<\/strong><\/h3>\n\n\n\n<p>List all containers and filter for those with a specific status:<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-8\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">docker inspect -f <span class=\"hljs-string\">'{{.Name}}: {{.State.Status}}'<\/span> $(docker ps -q)\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-8\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>12. Find Environment Variables in a Container<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-9\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">docker inspect -f <span class=\"hljs-string\">'{{json .Config.Env}}'<\/span> my_container\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-9\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p><strong>Example Output:<\/strong><\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-10\" data-shcb-language-name=\"JSON \/ JSON with Comments\" data-shcb-language-slug=\"json\"><span><code class=\"hljs language-json\">&#91;<span class=\"hljs-string\">\"PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin\"<\/span>, <span class=\"hljs-string\">\"APP_ENV=production\"<\/span>]\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-10\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JSON \/ JSON with Comments<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">json<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>13. Get CPU and Memory Limits<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-11\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">docker inspect -f <span class=\"hljs-string\">'CPU: {{.HostConfig.NanoCpus}}, Memory: {{.HostConfig.Memory}}'<\/span> my_container\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-11\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>14. Save Inspection Data to a File<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-12\" data-shcb-language-name=\"CSS\" data-shcb-language-slug=\"css\"><span><code class=\"hljs language-css\"><span class=\"hljs-selector-tag\">docker<\/span> <span class=\"hljs-selector-tag\">inspect<\/span> <span class=\"hljs-selector-tag\">my_container<\/span> &gt; <span class=\"hljs-selector-tag\">container_info<\/span><span class=\"hljs-selector-class\">.json<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-12\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">CSS<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">css<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Use Cases for <code>docker inspect<\/code><\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>1. Debugging and Troubleshooting<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Inspect container logs and metadata to diagnose problems.<\/li>\n\n\n\n<li>Example: Check the <strong>container\u2019s restart policy<\/strong> or <strong>network configuration<\/strong> to identify issues.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>2. Verifying Container Configurations<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ensure containers are configured with the correct <strong>environment variables, resource limits, and command options<\/strong>.<\/li>\n\n\n\n<li>Example: Verify that a database container is using the expected port and volume.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>3. Auditing and Security<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Audit images for <strong>base image and build commands<\/strong>.<\/li>\n\n\n\n<li>Example: Ensure that containers do not contain unnecessary or outdated software.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>4. Network Analysis<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Inspect Docker networks to find <strong>IP addresses, subnets, and connected containers<\/strong>.<\/li>\n\n\n\n<li>Example: Check if a container is connected to the right network.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>5. Monitoring and Resource Management<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Monitor resource allocations for containers, such as <strong>CPU and memory limits<\/strong>.<\/li>\n\n\n\n<li>Example: Track containers that exceed their allocated memory.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>6. Automating Configuration Checks<\/strong><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Integrate <code>docker inspect<\/code> into scripts to automatically validate container configurations.<\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>List of Common <code>docker inspect<\/code> Commands<\/strong><\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><strong>Command<\/strong><\/th><th><strong>Description<\/strong><\/th><\/tr><\/thead><tbody><tr><td><code>docker inspect my_container<\/code><\/td><td>Inspect a container<\/td><\/tr><tr><td><code>docker inspect nginx:latest<\/code><\/td><td>Inspect an image<\/td><\/tr><tr><td><code>docker inspect my_custom_network<\/code><\/td><td>Inspect a network<\/td><\/tr><tr><td><code>docker inspect my_data_volume<\/code><\/td><td>Inspect a volume<\/td><\/tr><tr><td><code>docker inspect -f '{{.State.Status}}' my_container<\/code><\/td><td>Show the container\u2019s status<\/td><\/tr><tr><td><code>docker inspect -f '{{.NetworkSettings.IPAddress}}' my_container<\/code><\/td><td>Show the container\u2019s IP address<\/td><\/tr><tr><td><code>docker inspect -f '{{.Config.Image}}' my_container<\/code><\/td><td>Show the base image used by the container<\/td><\/tr><tr><td><code>docker inspect -f '{{.HostConfig.Memory}}' my_container<\/code><\/td><td>Show the memory limit for the container<\/td><\/tr><tr><td>`docker inspect my_container<\/td><td>jq &#8216;.&#8217;`<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Best Practices for Using <code>docker inspect<\/code>:<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Use <code>--format<\/code> for specific data extraction<\/strong>, especially when scripting.<\/li>\n\n\n\n<li><strong>Combine with <code>jq<\/code><\/strong> for easier JSON processing and filtering.<\/li>\n\n\n\n<li><strong>Automate checks<\/strong> using inspection data in CI\/CD pipelines.<\/li>\n\n\n\n<li><strong>Monitor and audit images<\/strong> by inspecting their history and base image.<\/li>\n\n\n\n<li><strong>Document important configuration details<\/strong> by saving the inspection output to a file.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Common Errors and Solutions<\/strong><\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>&#8220;No such object&#8221;<\/strong><br>\u2192 Ensure the container, image, network, or volume exists. Use <code>docker ps -a<\/code> or <code>docker images<\/code> to verify.<\/li>\n\n\n\n<li><strong>&#8220;Empty output for a field&#8221;<\/strong><br>\u2192 The field may not exist for the inspected object. Check the full JSON output first.<\/li>\n\n\n\n<li><strong>&#8220;JSON output too large&#8221;<\/strong><br>\u2192 Use <code>--format<\/code> to filter and reduce the output size.<\/li>\n<\/ol>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Combining <code>docker inspect<\/code> with Other Commands<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Monitor and Check Container Status<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-13\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code class=\"hljs language-javascript\">docker ps -q | xargs -n <span class=\"hljs-number\">1<\/span> docker inspect -f <span class=\"hljs-string\">'{{.Name}}: {{.State.Status}}'<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-13\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<h3 class=\"wp-block-heading\"><strong>Validate and Log Container Configurations<\/strong><\/h3>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-14\" data-shcb-language-name=\"CSS\" data-shcb-language-slug=\"css\"><span><code class=\"hljs language-css\"><span class=\"hljs-selector-tag\">docker<\/span> <span class=\"hljs-selector-tag\">inspect<\/span> <span class=\"hljs-selector-tag\">my_app_container<\/span> &gt; <span class=\"hljs-selector-tag\">app_config<\/span><span class=\"hljs-selector-class\">.json<\/span>\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-14\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">CSS<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">css<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here\u2019s a complete tutorial on docker inspect, covering what it does, examples, and use cases. What is docker inspect? docker inspect is a Docker command that retrieves detailed information about&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[4862],"tags":[],"class_list":["post-48442","post","type-post","status-publish","format-standard","hentry","category-docker"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/48442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=48442"}],"version-history":[{"count":2,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/48442\/revisions"}],"predecessor-version":[{"id":48444,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/48442\/revisions\/48444"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=48442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=48442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=48442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}