<div dir="ltr"><div class="" itemprop="text">
<p>hello, <br></p><p>Please, i try to create a lxc-container on Ubuntu 14.04 but i have an error message</p>
<pre><code>root@localhost:~sudo lxc-create -t ubuntu -n u4
Checking cache download in /var/cache/lxc/trusty/rootfs-amd64 ...
Installing packages in template: ssh,vim,language-pack-en
Downloading ubuntu trusty minimal ...
I: Retrieving Release
ERROR: Unable to fetch GPG key from keyserver.
CE: Interrupt caught ... exiting
</code></pre>
<p>I'm behind a firewall.</p>
<p>i try:</p>
<pre><code>root@localhost:~# http_proxy=<a href="http://proxy:3128">http://proxy:3128</a> && https_proxy=<a href="http://proxy:3128">http://proxy:3128</a>
root@localhost:~# echo $http_proxy
<a href="http://proxy:3128">http://proxy:3128</a>
root@localhost:~# echo $https_proxy
<a href="http://proxy:3128">http://proxy:3128</a>
root@localhost:~# sudo lxc-create -t ubuntu -n u9
Checking cache download in /var/cache/lxc/trusty/rootfs-amd64 ...
Installing packages in template: ssh,vim,language-pack-en
Downloading ubuntu trusty minimal ...
I: Retrieving Release ---------> blocked<br><br></code></pre><pre><code>i see here: <a href="https://github.com/lxc/lxc/blob/master/templates/lxc-download.in">https://github.com/lxc/lxc/blob/master/templates/lxc-download.in</a><br></code></pre><table class=""><tbody><tr><td id="LC57" class=""><b><span class=""># Deal with GPG over http proxy</span></b></td>
</tr>
<tr>
<td id="LC58" class=""><b>if [ -n <span class="">"<span class="">${http_proxy:-}</span>"</span> ]; then</b></td>
</tr>
<tr>
<td id="LC59" class=""><b> DOWNLOAD_KEYSERVER=<span class="">"hkp://<a href="http://p80.pool.sks-keyservers.net:80">p80.pool.sks-keyservers.net:80</a>"</span></b></td>
</tr>
<tr>
<td id="LC60" class=""><b>fi</b></td></tr></tbody></table><pre><code> </code></pre>
<p>From where can i download the key please ? i'm blocked .. i'd like to do the dumping process of a container..<br></p>
<p>Thanks a lot. <br></p><p>Best Regards.</p>
</div></div>