[lxc-users] lxc-users Digest, Vol 53, Issue 1

Tycho Andersen tycho.andersen at canonical.com
Mon Dec 15 17:06:59 UTC 2014


On Mon, Dec 15, 2014 at 05:42:56PM +0100, Thouraya TH wrote:
> hello,
> 
> Please, i try to create a lxc-container on Ubuntu 14.04 but i have an error
> message
> 
> root at 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
> 
> I'm behind a firewall.
> 
> i try:
> 
> root at localhost:~# http_proxy=http://proxy:3128 && https_proxy=http://proxy:3128
> root at localhost:~# echo $http_proxyhttp://proxy:3128
> root at localhost:~# echo $https_proxyhttp://proxy:3128
> root at 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
> 
> i see here: https://github.com/lxc/lxc/blob/master/templates/lxc-download.in
> 
> # Deal with GPG over http proxy
> if [ -n "${http_proxy:-}" ]; then
> DOWNLOAD_KEYSERVER="hkp://p80.pool.sks-keyservers.net:80"
> fi
> 
> From where can i download the key please ? i'm blocked ..

That's the source for the lxc-download template, instead of the ubuntu
template. Your command above says you're using the ubuntu template. It
might be easiest for you to talk to whoever administers your network
and have them poke a hole in the firewall for what you need to do.

Tycho


> 
> 
> *manually downloading the keys via wget to ensure that you have your proxy
> support configured correctly. Have you tried this, and are you successful?*
> 
> *wget what ? i can't find the url ..*
> 
> Thanks a lot.
> 
> Best Regards.
> 
> 
> 
> 2014-12-15 14:53 GMT+01:00 Thouraya TH <thouraya87 at gmail.com>:
> >
> > Thank you so much for help.
> >
> > Yeah,i'm
> > * behind a firewall. *
> > I'm trying to test your solution
> > *:1) *
> >
> >
> > * is to download the key using wget or curl*
> >
> >
> > *--------> Where can i find the key please ?*
> > Thanks a lot.
> > Best Regards.
> >
> >
> >

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list