On Tue, Aug 11, 2015 at 11:46:40PM +0530, gagan chhabra wrote:
> Using lxc on Ubuntu Server Trusty and I encountered following error:
> 
> $ sudo lxc-create -t download -n u1 -- --dist ubuntu --release trusty
> --arch amd64
> Setting up the GPG keyring
> ERROR: Unable to fetch GPG key from keyserver.
> lxc_container: container creation template for u1 failed
> lxc_container: Error creating container u1
> 
> prints *Setting up the GPG keyring, *then after a while it fails and prints
> error.
> 
> Also, I have exported my authentication proxy http_proxy in .bashrc.
> 
> Gagandeep S. Chhabra
> Mob: +91 97049 28427

LXC works fine with proxies but sudo strips the environment so in your
example, http_proxy isn't actually set.


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

Attachment: signature.asc
Description: Digital signature

_______________________________________________
lxc-users mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-users

Reply via email to