<html>
<head>
</head>
<body>
<div style="color: black;">
<div style="color: black;">
<p style="margin: 0 0 1em 0; color: black;">Try this one:<br>
Export http_proxy="<a href="http://proxy:port/">http://proxy:port/</a>"<br>
If debootstrap uses it, then it should work.</p>
<p style="margin: 0 0 1em 0; color: black;">Also don't forget to apply apt
settings in container.</p>
</div>
<div style="color: black;">
<p
style="color: black; font-size: 10pt; font-family: Arial, sans-serif; margin: 10pt 0;">On
October 9, 2014 4:47:34 PM sriram patil <spsrirampatil@gmail.com>
wrote:</p>
<blockquote type="cite" class="gmail_quote"
style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;"><div
dir="ltr">Hi,<div><br></div><div><span
style="color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;font-size:14px;line-height:17.8048000335693px">I
am using lxc-create on the latest version of Linux Mint. Following is the
error message</span><br></div><div><span
style="color:rgb(0,0,0);font-family:Arial,'Liberation Sans','DejaVu Sans',sans-serif;font-size:14px;line-height:17.8048000335693px"><br></span></div><div><div
style><font color="#000000"
face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span
style="font-size:14px;line-height:17.8048000335693px">> sudo lxc-create
-n ubuntu01 -t ubuntu</span></font></div><div style><font color="#000000"
face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span
style="font-size:14px;line-height:17.8048000335693px">Checking cache
download in /var/cache/lxc/precise/rootfs-amd64
... </span></font></div><div style><font color="#000000"
face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span
style="font-size:14px;line-height:17.8048000335693px">Installing packages
in template: ssh,vim,language-pack-en</span></font></div><div style><font
color="#000000"
face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span
style="font-size:14px;line-height:17.8048000335693px">Downloading ubuntu
precise minimal ...</span></font></div><div style><font color="#000000"
face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span
style="font-size:14px;line-height:17.8048000335693px">I: Retrieving
Release </span></font></div><div style><font color="#000000"
face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span
style="font-size:14px;line-height:17.8048000335693px">E: Failed getting
release file <a
href="http://archive.ubuntu.com/ubuntu/dists/precise/Release">http://archive.ubuntu.com/ubuntu/dists/precise/Release</a></span></font></div><div
style><font color="#000000"
face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span
style="font-size:14px;line-height:17.8048000335693px">lxc_container:
container creation template for ubuntu01 failed</span></font></div><div
style><font color="#000000"
face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span
style="font-size:14px;line-height:17.8048000335693px">lxc_container: Error
creating container ubuntu01</span></font></div></div><div style><font
color="#000000"
face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span
style="font-size:14px;line-height:17.8048000335693px"><br></span></font></div><div
style><font color="#000000"
face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span
style="font-size:14px;line-height:17.8048000335693px"><br></span></font></div><div
style><font color="#000000"
face="Arial, Liberation Sans, DejaVu Sans, sans-serif"><span
style="font-size:14px;line-height:17.8048000335693px"><div style>I am
working behind a proxy server. All my proxy settings are fine. I have aslo
added the proxy details in `/etc/apt/apt.conf` using
`Acquire::http:Proxy="<proxy and port>";` (+https and ftp).
But, it did not work.</div><div style><br></div><div style>I tried changing
mirror in `/etc/default/lxc` file as well. Changing the MIRROR field to `<a
href="http://host-ip:3142/...`">http://host-ip:3142/...`</a>. But no
success.</div><div style><br></div><div style>Where does lxc-create read
the proxy settings from? Where should I do the configuration? Am I missing
something here? Port number 22 is blocked by my proxy server. Does not
affect?</div><div style><br></div><div style>Thanks,</div><div
style>Sriram</div></span></font></div></div>
_______________________________________________<br>
lxc-users mailing list<br>
lxc-users@lists.linuxcontainers.org<br>
<a class="aqm-autolink aqm-autowrap"
href="http://lists.linuxcontainers.org/listinfo/lxc-users">http://lists.linuxcontainers.org/listinfo/lxc-users</a></blockquote>
</div>
</div>
</body>
</html>