<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Docker on Dev Matters</title><link>https://www.munish-mehta.com/tags/docker/</link><description>Recent content in Docker on Dev Matters</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 13 Mar 2018 00:00:00 +0000</lastBuildDate><atom:link href="https://www.munish-mehta.com/tags/docker/index.xml" rel="self" type="application/rss+xml"/><item><title>How to configure docker to use HTTP proxy</title><link>https://www.munish-mehta.com/post/use-docker-behind-http-proxy/</link><pubDate>Tue, 13 Mar 2018 00:00:00 +0000</pubDate><guid>https://www.munish-mehta.com/post/use-docker-behind-http-proxy/</guid><description>&lt;img src="https://www.munish-mehta.com/images/docker/docker_hu6501580184772560139.png" alt="configuring proxy for docker">


&lt;h2 id="ubuntu">Ubuntu&lt;/h2>
&lt;h3 id="set-docker-to-use-http-proxy">Set docker to use http proxy&lt;/h3>
&lt;div class="highlight">&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#282a36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;">&lt;code class="language-gdscript3" data-lang="gdscript3">&lt;span style="display:flex;">&lt;span>sudo &lt;span style="color:#ff79c6">/&lt;/span>etc&lt;span style="color:#ff79c6">/&lt;/span>default&lt;span style="color:#ff79c6">/&lt;/span>docker
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ff79c6">export&lt;/span> http_proxy&lt;span style="color:#ff79c6">=&lt;/span>&lt;span style="color:#f1fa8c">&amp;#34;http://127.0.0.1:3128/&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ff79c6">export&lt;/span> https_proxy&lt;span style="color:#ff79c6">=&lt;/span>&lt;span style="color:#f1fa8c">&amp;#34;http://127.0.0.1:3128/&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ff79c6">export&lt;/span> HTTP_PROXY&lt;span style="color:#ff79c6">=&lt;/span>&lt;span style="color:#f1fa8c">&amp;#34;http://127.0.0.1:3128/&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;span style="display:flex;">&lt;span>&lt;span style="color:#ff79c6">export&lt;/span> HTTPS_PROXY&lt;span style="color:#ff79c6">=&lt;/span>&lt;span style="color:#f1fa8c">&amp;#34;http://127.0.0.1:3128/&amp;#34;&lt;/span>
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div></description></item><item><title>How to execute docker commands using non-root users</title><link>https://www.munish-mehta.com/post/docker-without-sudo/</link><pubDate>Tue, 09 Jan 2018 00:00:00 +0000</pubDate><guid>https://www.munish-mehta.com/post/docker-without-sudo/</guid><description>This article will show you how to execute docker commands using non-root users</description></item></channel></rss>