{"id":15421,"date":"2016-12-15T16:15:06","date_gmt":"2016-12-15T14:15:06","guid":{"rendered":"http:\/\/www.webcodegeeks.com\/?p=15421"},"modified":"2017-12-19T12:24:57","modified_gmt":"2017-12-19T10:24:57","slug":"docker-start-container-example","status":"publish","type":"post","link":"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/","title":{"rendered":"Docker Start Container Example"},"content":{"rendered":"<p>A container, in Docker terminology, is an instance of an image. A typical simile used for this, is the classes and objects in Object Oriented Programming.<\/p>\n<p>This example will show how to start containers, that is, making run images instances.<\/p>\n<p>For this example, Linux Mint 18 and Docker version 1.12.1 have been used.<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n&nbsp;<br \/>\n[ulp id=&#8217;OCKUMTbC259tpbxG&#8217;]<\/p>\n<div class=\"tip\"><strong>Tip<\/strong><br \/>\nYou may skip Docker installation and jump directly to the <a href=\"#section_2\"><strong>beginning of the example<\/strong><\/a> below.<\/div>\n<h2>1. Installation<\/h2>\n<p><strong>Note<\/strong>: Docker requires a 64-bit system with a kernel version equal or higher to 3.10.<\/p>\n<p>We can install Docker simply via <code>apt-get<\/code>, without the need of adding any repository, just installing the <code>docker.io<\/code> package:<\/p>\n<pre class=\"brush:bash\">sudo apt-get update\r\nsudo apt-get install docker.io\r\n<\/pre>\n<p>For more details, you can follow the <a href=\"https:\/\/www.webcodegeeks.com\/devops\/install-docker-ubuntu-tutorial\/\">Install Docker on Ubuntu Tutorial<\/a>.<\/p>\n<h2 id=\"section_2\">2. Pulling a sample image<\/h2>\n<p>If you have used Docker before, you (should) already know that a container is an instance of an image, so, first, we need one.<\/p>\n<p>The easiest way to obtain Docker images is from Docker Hub, pulling them. We could pull, for example, an Nginx image:<\/p>\n<pre class=\"brush:bash\">docker pull nginx<\/pre>\n<p>You can check that you have the image on your system executing:<\/p>\n<pre class=\"brush:bash\">docker images<\/pre>\n<p>Which should show something similar to:<\/p>\n<pre class=\"brush:bash;wrap-lines:false\">REPOSITORY\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 TAG\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 IMAGE ID\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 CREATED\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 SIZE\r\nnginx\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 latest\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 abf312888d13\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 2 weeks ago\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 181.5 MB<\/pre>\n<h2>3. Creating a container from an image and running it: run<\/h2>\n<p>Now that we have a Docker image, we can easily create a container from it.<\/p>\n<p>As said before, a container is just an instance of an image. We can have several different containers from a single image, running at the same time.<\/p>\n<p>The <code>run<\/code> docker command <em>creates<\/em> the container, and then <em>runs<\/em> it. So, running a container from an image is as easy as executing:<\/p>\n<pre class=\"brush:bash\">docker run &lt;image-name|image-id&gt;[:tag]<\/pre>\n<p>That means that we can create our container executing:<\/p>\n<pre class=\"brush:bash\">docker run nginx<\/pre>\n<p>And, also:<\/p>\n<pre class=\"brush:bash\">docker run abf312888d13<\/pre>\n<p>Additionally, we can also specify the tag:<\/p>\n<pre class=\"brush:bash\">docker run nginx:latest<\/pre>\n<p>For the previous examples, Docker would create the container from the image that already exists in our disk. But, we can also directly run containers for which we don&#8217;t have the image in the disk; Docker is clever enough to know that it has to pull it, if it cannot be found in the disk. So, we could execute:<\/p>\n<pre class=\"brush:bash\">docker run nginx:1.10<\/pre>\n<p>Which is an image that doesn&#8217;t exist, and Docker will do a <code>pull<\/code> followed by the <code>run<\/code>, after saying that it was unable to find the image:<\/p>\n<blockquote><p>Unable to find image &#8216;nginx:1.10&#8217; locally<\/p><\/blockquote>\n<h3>3.1. Running containers in detached mode<\/h3>\n<p>If you ran the container, you would saw that the container is being ran in the console, and, that if you terminate the process, the container is stopped.<\/p>\n<p>Usually, we want to run the containers in background or detached. For that, we have to use the <code>-d<\/code> option:<\/p>\n<pre class=\"brush:bash\">docker run -d nginx<\/pre>\n<p>With this option, Docker will show the container ID, and then detach the container.<\/p>\n<h3>3.2. Giving a name to the container<\/h3>\n<p>The random names generated by Docker do not say nothing about the container, so, we should always give a meaningful name to the container. This is achieved with the <code>pull<\/code> option, e.g.:<\/p>\n<pre class=\"brush:bash\">docker run -d --name=nginx1 nginx<\/pre>\n<h3>3.3. Mapping container ports to host ports<\/h3>\n<p>An essential option for most of the containers is the port publishing. If we are running a web server, as in this example, is obviously essential.<\/p>\n<p>For this, we have to use the <code>-p<\/code> (<code>--publish<\/code>) option, which follows this format:<\/p>\n<pre class=\"brush:bash\">docker run -p &lt;host-port&gt;:&lt;container-port&gt; &lt;image&gt;<\/pre>\n<p>So, for example, if we would want to map the port 80 of the container to the port 80 of the host, we would execute:<\/p>\n<pre class=\"brush:bash\">docker run -d --name=nginx2 -p 80:80 nginx<\/pre>\n<p>Now, if we follow <code>localhost<\/code> (or <code>127.0.0.1<\/code>) in a browser, we should see the Nginx welcome page. That is, we would be accessing the web root of the web server running in the container.<\/p>\n<p>Of course, we can use any (free) port in the host:<\/p>\n<pre class=\"brush:bash\">docker run -d --name=nginx3 -p 8080:80 nginx<\/pre>\n<h3>3.4. Run a container and get the command line<\/h3>\n<p>For some occasions, we just want to get the command line of a container. For this, we have to use two options: <code>-i<\/code> (<code>--interactive<\/code> and <code>-t<\/code> (<code>--tty<\/code> and also specify the shell:<\/p>\n<pre class=\"brush:bash\">docker run -i -t &lt;image&gt; &lt;\/path\/to\/shell&gt;<\/pre>\n<p>For example:<\/p>\n<pre class=\"brush:bash\">docker run --name=nginx4 -i -t nginx \/bin\/bash<\/pre>\n<p>And we will run the container interactively.<\/p>\n<p>For exiting the container, we can execute <code>exit<\/code> inside it.<\/p>\n<p>We can also combine both options in just one with <code>-it<\/code>:<\/p>\n<pre class=\"brush:bash\">docker run --name=nginx5 -it nginx \/bin\/bash<\/pre>\n<h3>3.5. Specifying a username<\/h3>\n<p>Exists the possibility of specifying the username the container has to be ran with, with the <code>-u<\/code> (<code>--user<\/code>) option:<\/p>\n<pre class=\"brush:bash\">docker run -u &lt;username&gt; &lt;image&gt;<\/pre>\n<p>Applied to the previous example, for running the container not with <code>root<\/code> user, but with <code>nginx<\/code>:<\/p>\n<pre class=\"brush:bash\">docker run --name=nginx6 -u nginx -it nginx \/bin\/bash<\/pre>\n<h2>4. Starting an existing container: restart<\/h2>\n<p>Let&#8217;s suppose that we stop one of the containers:<\/p>\n<pre class=\"brush:bash\">docker stop nginx1<\/pre>\n<p>Now, the <code>nginx1<\/code> container is stopped. If we would try to create a container with the same name:<\/p>\n<pre class=\"brush:bash\">docker run --name=nginx1 nginx<\/pre>\n<p>Docker would throw an error, an the container wouldn&#8217;t be started:<\/p>\n<blockquote><p>docker: Error response from daemon: Conflict. The name &#8220;\/nginx1&#8221; is already in use by container 4e3a240cd6c20d6968afdb91be14860be72ed6ca652e6d52ac8546ee5d6ce16d. You have to remove (or rename) that container to be able to reuse that name.<\/p><\/blockquote>\n<p>The message is quite explanatory: we cannot create a container with the name of another container (that&#8217;s why we have used different names for the containers in this example), even if stopped. For that, we would have to delete or rename it.<\/p>\n<p>If what we want to do is to run that container, that is, that <strong>specific instance of the <code>nginx<\/code> image that we created before<\/strong>, we don&#8217;t have to use the <code>start<\/code> command, but <code>restart<\/code>:<\/p>\n<pre class=\"brush:bash\">docker restart &lt;container-name|container-id&gt;<\/pre>\n<p>So, for restarting our stopped container, we just have to execute:<\/p>\n<pre class=\"brush:bash\">docker restart nginx1<\/pre>\n<p>And it will be running again, keeping the port mapping, if specified.<\/p>\n<h2>5. Summary<\/h2>\n<p>This example has shown how to run Docker containers, that is, an instance of a Docker image. We have seen several options for these. Apart from that, we have also seen how to restart existing containers, which is slightly different from creating them.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A container, in Docker terminology, is an instance of an image. A typical simile used for this, is the classes and objects in Object Oriented Programming. This example will show how to start containers, that is, making run images instances. For this example, Linux Mint 18 and Docker version 1.12.1 have been used. &nbsp; &nbsp; &hellip;<\/p>\n","protected":false},"author":160,"featured_media":10356,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[17],"tags":[217],"class_list":["post-15421","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops","tag-docker"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Docker Start Container Example - Web Code Geeks - 2026<\/title>\n<meta name=\"description\" content=\"A container, in Docker terminology, is an instance of an image. A typical simile used for this, is the classes and objects in Object Oriented Programming.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Docker Start Container Example - Web Code Geeks - 2026\" \/>\n<meta property=\"og:description\" content=\"A container, in Docker terminology, is an instance of an image. A typical simile used for this, is the classes and objects in Object Oriented Programming.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webcodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2016-12-15T14:15:06+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-12-19T10:24:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Toni\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@webcodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Toni\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/\"},\"author\":{\"name\":\"Toni\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/54a7be647b0b871cff41cbf3d2a95966\"},\"headline\":\"Docker Start Container Example\",\"datePublished\":\"2016-12-15T14:15:06+00:00\",\"dateModified\":\"2017-12-19T10:24:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/\"},\"wordCount\":919,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg\",\"keywords\":[\"Docker\"],\"articleSection\":[\"DevOps\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/\",\"name\":\"Docker Start Container Example - Web Code Geeks - 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg\",\"datePublished\":\"2016-12-15T14:15:06+00:00\",\"dateModified\":\"2017-12-19T10:24:57+00:00\",\"description\":\"A container, in Docker terminology, is an instance of an image. A typical simile used for this, is the classes and objects in Object Oriented Programming.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#primaryimage\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webcodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DevOps\",\"item\":\"https:\/\/www.webcodegeeks.com\/category\/devops\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Docker Start Container Example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"name\":\"Web Code Geeks\",\"description\":\"Web Developers Resource Center\",\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webcodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/www.webcodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webcodegeeks\",\"https:\/\/x.com\/webcodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/54a7be647b0b871cff41cbf3d2a95966\",\"name\":\"Toni\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/21c1661474c78b4757355b8beef9ab1d14f490ee3a3e67392f4e618d36643d4c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/21c1661474c78b4757355b8beef9ab1d14f490ee3a3e67392f4e618d36643d4c?s=96&d=mm&r=g\",\"caption\":\"Toni\"},\"url\":\"https:\/\/www.webcodegeeks.com\/author\/julen-pardo\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Docker Start Container Example - Web Code Geeks - 2026","description":"A container, in Docker terminology, is an instance of an image. A typical simile used for this, is the classes and objects in Object Oriented Programming.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/","og_locale":"en_US","og_type":"article","og_title":"Docker Start Container Example - Web Code Geeks - 2026","og_description":"A container, in Docker terminology, is an instance of an image. A typical simile used for this, is the classes and objects in Object Oriented Programming.","og_url":"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/","og_site_name":"Web Code Geeks","article_publisher":"https:\/\/www.facebook.com\/webcodegeeks","article_published_time":"2016-12-15T14:15:06+00:00","article_modified_time":"2017-12-19T10:24:57+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg","type":"image\/jpeg"}],"author":"Toni","twitter_card":"summary_large_image","twitter_creator":"@webcodegeeks","twitter_site":"@webcodegeeks","twitter_misc":{"Written by":"Toni","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#article","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/"},"author":{"name":"Toni","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/54a7be647b0b871cff41cbf3d2a95966"},"headline":"Docker Start Container Example","datePublished":"2016-12-15T14:15:06+00:00","dateModified":"2017-12-19T10:24:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/"},"wordCount":919,"commentCount":0,"publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg","keywords":["Docker"],"articleSection":["DevOps"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/","url":"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/","name":"Docker Start Container Example - Web Code Geeks - 2026","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#primaryimage"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg","datePublished":"2016-12-15T14:15:06+00:00","dateModified":"2017-12-19T10:24:57+00:00","description":"A container, in Docker terminology, is an instance of an image. A typical simile used for this, is the classes and objects in Object Oriented Programming.","breadcrumb":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#primaryimage","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-start-container-example\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webcodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"DevOps","item":"https:\/\/www.webcodegeeks.com\/category\/devops\/"},{"@type":"ListItem","position":3,"name":"Docker Start Container Example"}]},{"@type":"WebSite","@id":"https:\/\/www.webcodegeeks.com\/#website","url":"https:\/\/www.webcodegeeks.com\/","name":"Web Code Geeks","description":"Web Developers Resource Center","publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webcodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webcodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.webcodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webcodegeeks","https:\/\/x.com\/webcodegeeks"]},{"@type":"Person","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/54a7be647b0b871cff41cbf3d2a95966","name":"Toni","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/21c1661474c78b4757355b8beef9ab1d14f490ee3a3e67392f4e618d36643d4c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/21c1661474c78b4757355b8beef9ab1d14f490ee3a3e67392f4e618d36643d4c?s=96&d=mm&r=g","caption":"Toni"},"url":"https:\/\/www.webcodegeeks.com\/author\/julen-pardo\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/15421","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/users\/160"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/comments?post=15421"}],"version-history":[{"count":0,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/15421\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media\/10356"}],"wp:attachment":[{"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/media?parent=15421"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/categories?post=15421"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/tags?post=15421"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}