<?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 Snowshoe Island Outpost</title><link>https://dingle.ourlotinlife.ca/tags/docker/</link><description>Recent content in Docker on Snowshoe Island Outpost</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Tue, 13 Mar 2018 18:00:00 +0000</lastBuildDate><atom:link href="https://dingle.ourlotinlife.ca/tags/docker/index.xml" rel="self" type="application/rss+xml"/><item><title>如何配置docker使用HTTP代理</title><link>https://dingle.ourlotinlife.ca/2018/03/13/use-docker-behind-http-proxy/</link><pubDate>Tue, 13 Mar 2018 18:00:00 +0000</pubDate><guid>https://dingle.ourlotinlife.ca/2018/03/13/use-docker-behind-http-proxy/</guid><description>&lt;h2 id="ubuntu">Ubuntu&lt;/h2>
&lt;h3 id="设置docker使用http-proxy">设置docker使用http proxy&lt;/h3>
&lt;pre tabindex="0">&lt;code>sudo /etc/default/docker

export http_proxy=&amp;#34;http://127.0.0.1:3128/&amp;#34;
export https_proxy=&amp;#34;http://127.0.0.1:3128/&amp;#34;
export HTTP_PROXY=&amp;#34;http://127.0.0.1:3128/&amp;#34;
export HTTPS_PROXY=&amp;#34;http://127.0.0.1:3128/&amp;#34;
&lt;/code>&lt;/pre></description></item><item><title>如何使用非root用户执行docker命令</title><link>https://dingle.ourlotinlife.ca/2018/02/09/docker-without-sudo/</link><pubDate>Fri, 09 Feb 2018 10:00:00 +0000</pubDate><guid>https://dingle.ourlotinlife.ca/2018/02/09/docker-without-sudo/</guid><description>Add the docker group if it doesn&amp;rsquo;t already exist: sudo groupadd docker Add the connected user &amp;ldquo;$USER&amp;rdquo; to the docker group. Change the user name to match your preferred user if you do not want to use your current user: sudo gpasswd -a $USER docker Either do a newgrp docker or log out/in to activate the changes to groups.</description></item></channel></rss>