{"id":15565,"date":"2017-01-02T16:15:11","date_gmt":"2017-01-02T14:15:11","guid":{"rendered":"http:\/\/www.webcodegeeks.com\/?p=15565"},"modified":"2017-12-19T12:20:18","modified_gmt":"2017-12-19T10:20:18","slug":"docker-environment-variables-example","status":"publish","type":"post","link":"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/","title":{"rendered":"Docker Environment Variables Example"},"content":{"rendered":"<p>When we create a Docker container, sometimes, we have the need of passing &#8220;arguments&#8221; to it, typically, port numbers for services, or some paths.<\/p>\n<p>For this, we configure the environment variables of the container, and that&#8217;s what this example is going to show.<\/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=\"&quot;brush:bash\">sudo apt-get update\r\nsudo apt-get install docker.io<\/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. What are environment variables?<\/h2>\n<p>When we talk about environment variables in Docker context, we are talking about the variables that we pass to a container, that will be set in its environment. Pretty easy, as you can see.<\/p>\n<p>Let&#8217;s see a practical case, executing the <code>env<\/code> command inside a container. In my case, is a container named <code>busybox1<\/code>, based on a Busybox image, that we have created just running:<\/p>\n<pre class=\"&quot;brush:bash\">docker run -i -t -d --name=busybox1 busybox<\/pre>\n<p>(The <code>-i<\/code>, <code>-t<\/code> and <code>-d<\/code> options are for keeping the container alive, detached).<\/p>\n<p>Now, we can execute the <code>env<\/code> command:<\/p>\n<pre class=\"&quot;brush:bash\">docker exec busybox1 env<\/pre>\n<p>Receiving the following output:<\/p>\n<pre class=\"&quot;brush:bash\">PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin\r\nHOSTNAME=0fd687d954b0\r\nTERM=xterm\r\nHOME=\/root<\/pre>\n<p>Showing the<strong> list of the environment variables set in our container<\/strong>.<\/p>\n<p>Note that the concept is exactly the same than in Linux, but applied in Docker context. Now we will see how to deal with environment variables in Docker containers.<\/p>\n<h2>3. Setting environment variables<\/h2>\n<p>Is essential to understand that the <strong>environment variables are set in container instantiation<\/strong>, that is, when we execute the <code>run<\/code> command.<\/p>\n<p>For this, we have to use the <code>-e<\/code> (<code>--env<\/code>) option. The format is the following:<\/p>\n<pre class=\"&quot;brush:bash\">docker run -e &lt;variable1&gt;='&lt;value1&gt;' [-e &lt;variableN&gt;='&lt;valueN&gt;'] &lt;image&gt;<\/pre>\n<p>There are a couple of things that we have to take into account:<\/p>\n<ul>\n<li>We have to pass the <code>-e<\/code> for each variable.<\/li>\n<li>The quotes for the value are only required for values including whitespaces, but it&#8217;s always good to follow the same convention, adding them always.<\/li>\n<\/ul>\n<p>Let&#8217;s see an example, creating the container and executing the <code>env<\/code> command (<strong>inside the container; not a Docker command<\/strong>), and seeing the output:<\/p>\n<pre class=\"&quot;brush:bash\">docker run -e variable1='value1' -e variable2='value2' busybox env<\/pre>\n<p>The shown output is:<\/p>\n<pre class=\"&quot;brush:bash\">PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin\r\nHOSTNAME=b7ab4a51b363\r\nvariable1=value1\r\nvariable2=value2\r\nHOME=\/root<\/pre>\n<h3>3.1. Reading environment variables from a file<\/h3>\n<p>Docker gives the chance of reading the environment variables from a file, which is especially useful when we have a large list of variables and we want to reuse them.<\/p>\n<p>The format this file has to follow is very simple, it&#8217;s just about setting a <code>var=val<\/code> in different lines, for example:<\/p>\n<p><span style=\"text-decoration: underline;\"><em>env.list<\/em><\/span><\/p>\n<pre class=\"&quot;brush:bash\">variable1=value1\r\nvariable2=value2<\/pre>\n<p>This file does not have to have any specific naming; we can set the name and extension we want.<\/p>\n<p>Also, note that <strong>we shouldn&#8217;t use quotes if we use a environment variable list file: if we use them, the quotes will be part of the value itself<\/strong>.<\/p>\n<p>For specifying this file when instantiating the image, we have to use the <code>env-file<\/code> option:<\/p>\n<pre class=\"&quot;brush:bash\">docker run --env-file=&lt;path\/to\/file&gt; &lt;image&gt;<\/pre>\n<p>For example:<\/p>\n<pre class=\"&quot;brush:bash\">docker run --env-file=.\/env.list busybox env<\/pre>\n<p>If we execute the command shown above, we will see that the printed environment variable list is the same as in previous occasions, but now being defined in a file.<\/p>\n<p>We can also combine the usage of the file, and the specification of the variables inline:<\/p>\n<pre class=\"&quot;brush:bash\">docker run --env-file=.\/env.list -e variable3=value3 busybox env<\/pre>\n<p>Showing:<\/p>\n<pre class=\"&quot;brush:bash\">PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin\r\nHOSTNAME=0e0361c22eae\r\nvariable1=value1\r\nvariable2=value2\r\nvariable3=value3\r\nHOME=\/root<\/pre>\n<p>Of course, we have to be cautious with the redefinitions: <strong>if a variable is defined in both file and inline, the one defined inline will have precedence<\/strong>. This means that, for the previous <code>env.list<\/code>, if we also define the following inline variable:<\/p>\n<pre class=\"&quot;brush:bash\">docker run --env-file=.\/env.list -e variable2=value3 busybox env<\/pre>\n<p>The value set in the container for <code>variable2<\/code> will be <code>value3<\/code>, instead of <code>value2<\/code>.<\/p>\n<h2>4. Environment variables in Dockerfiles<\/h2>\n<p>Of course, we can set environmental variables in our Dockerfiles. For this, we have to use the <code>ENV<\/code> instruction.<\/p>\n<p>There are several ways for using this instruction:<\/p>\n<pre class=\"&quot;brush:bash\"># Without equality sign, specifying the 'ENV' instruction in each line\r\nENV variable1 value1\r\nENV variable2 value2\r\n\r\n# With the equality sign, without the need of specifying 'ENV' for every assignment, but using '\\'\r\nENV variable1=value1\\\r\n    variable2=value2<\/pre>\n<p>As for inline variables, <strong>we have to use quotes for values containing whitespaces<\/strong>.<\/p>\n<p>So a simple Dockerfile for doing what we have done in the previous sections could be:<\/p>\n<p><em><span style=\"text-decoration: underline;\">Dockerfile<\/span><\/em><\/p>\n<pre class=\"&quot;brush:bash\">FROM busybox\r\n\r\nENV variable1=value1\\\r\n\u00a0\u00a0\u00a0 variable2=value2<\/pre>\n<p>Then, we build the image from this Dockerfile:<\/p>\n<pre class=\"&quot;brush:bash\">docker build --tag=mybusybox . # The path to my Dockerfile<\/pre>\n<p>And run it, showing the environment variables:<\/p>\n<pre class=\"&quot;brush:bash\">docker run mybusybox env<\/pre>\n<p>And we will see the expected output:<\/p>\n<pre class=\"&quot;brush:bash\">PATH=\/usr\/local\/sbin:\/usr\/local\/bin:\/usr\/sbin:\/usr\/bin:\/sbin:\/bin\r\nHOSTNAME=d677d9eac45b\r\nvariable1=value1\r\nvariable2=value2\r\nHOME=\/root<\/pre>\n<h2>5. Summary<\/h2>\n<p>In this tutorial, we have seen how to set environment variables of containers at instantiation time, as a method of passing arguments to them. We have started with the most basic solution, that consists on passing the arguments inline one by one; and then how to define them in a file, which can be more comfortable for some situations; and, also, for our own Dockerfiles.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When we create a Docker container, sometimes, we have the need of passing &#8220;arguments&#8221; to it, typically, port numbers for services, or some paths. For this, we configure the environment variables of the container, and that&#8217;s what this example is going to show. For this example, Linux Mint 18 and Docker version 1.12.1 have been &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":[],"class_list":["post-15565","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Docker Environment Variables Example - Web Code Geeks - 2026<\/title>\n<meta name=\"description\" content=\"When we create a Docker container, sometimes, we have the need of passing &quot;arguments&quot; to it, typically, port numbers for services, or some paths. For\" \/>\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-environment-variables-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Docker Environment Variables Example - Web Code Geeks - 2026\" \/>\n<meta property=\"og:description\" content=\"When we create a Docker container, sometimes, we have the need of passing &quot;arguments&quot; to it, typically, port numbers for services, or some paths. For\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-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=\"2017-01-02T14:15:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-12-19T10:20:18+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-environment-variables-example\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/\"},\"author\":{\"name\":\"Toni\",\"@id\":\"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/54a7be647b0b871cff41cbf3d2a95966\"},\"headline\":\"Docker Environment Variables Example\",\"datePublished\":\"2017-01-02T14:15:11+00:00\",\"dateModified\":\"2017-12-19T10:20:18+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/\"},\"wordCount\":734,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg\",\"articleSection\":[\"DevOps\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/\",\"url\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/\",\"name\":\"Docker Environment Variables Example - Web Code Geeks - 2026\",\"isPartOf\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg\",\"datePublished\":\"2017-01-02T14:15:11+00:00\",\"dateModified\":\"2017-12-19T10:20:18+00:00\",\"description\":\"When we create a Docker container, sometimes, we have the need of passing \\\"arguments\\\" to it, typically, port numbers for services, or some paths. For\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-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-environment-variables-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 Environment Variables 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 Environment Variables Example - Web Code Geeks - 2026","description":"When we create a Docker container, sometimes, we have the need of passing \"arguments\" to it, typically, port numbers for services, or some paths. For","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-environment-variables-example\/","og_locale":"en_US","og_type":"article","og_title":"Docker Environment Variables Example - Web Code Geeks - 2026","og_description":"When we create a Docker container, sometimes, we have the need of passing \"arguments\" to it, typically, port numbers for services, or some paths. For","og_url":"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/","og_site_name":"Web Code Geeks","article_publisher":"https:\/\/www.facebook.com\/webcodegeeks","article_published_time":"2017-01-02T14:15:11+00:00","article_modified_time":"2017-12-19T10:20:18+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-environment-variables-example\/#article","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/"},"author":{"name":"Toni","@id":"https:\/\/www.webcodegeeks.com\/#\/schema\/person\/54a7be647b0b871cff41cbf3d2a95966"},"headline":"Docker Environment Variables Example","datePublished":"2017-01-02T14:15:11+00:00","dateModified":"2017-12-19T10:20:18+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/"},"wordCount":734,"commentCount":0,"publisher":{"@id":"https:\/\/www.webcodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg","articleSection":["DevOps"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/","url":"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/","name":"Docker Environment Variables Example - Web Code Geeks - 2026","isPartOf":{"@id":"https:\/\/www.webcodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/#primaryimage"},"image":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/#primaryimage"},"thumbnailUrl":"https:\/\/www.webcodegeeks.com\/wp-content\/uploads\/2016\/01\/docker-logo.jpg","datePublished":"2017-01-02T14:15:11+00:00","dateModified":"2017-12-19T10:20:18+00:00","description":"When we create a Docker container, sometimes, we have the need of passing \"arguments\" to it, typically, port numbers for services, or some paths. For","breadcrumb":{"@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-example\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webcodegeeks.com\/devops\/docker-environment-variables-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-environment-variables-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 Environment Variables 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\/15565","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=15565"}],"version-history":[{"count":0,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/posts\/15565\/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=15565"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/categories?post=15565"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webcodegeeks.com\/wp-json\/wp\/v2\/tags?post=15565"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}