[lxc-users] Linux container fail behind the proxy

Tren Blackburn iam at theendoftime.net
Fri Jan 10 22:43:19 UTC 2014


On Fri, Jan 10, 2014 at 12:32 AM, Gandhi, Ibha (HP Software)
<ibhag at hp.com>wrote:

>  Hi,
>
>
>
> I am deploying application(for example mysql) on linux containers using
> juju.
>
> Linux container is successfully created and I get public ip.
>
> I connected to this ip and ran this command “sudo apt-get install git”
> inside the conatiner:
>
>
>
> Here is the output
>
> sudo: unable to resolve host root-local-machine-1
>
> Reading package lists... Done
>
> Building dependency tree
>
> Reading state information... Done
>
> The following extra packages will be installed:
>
>   git-man liberror-perl
>
> Suggested packages:
>
>   git-daemon-run git-daemon-sysvinit git-doc git-el git-arch git-cvs
> git-svn git-email git-gui gitk gitweb
>
> The following NEW packages will be installed:
>
>   git git-man liberror-perl
>
> 0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
>
> Need to get 6,741 kB of archives.
>
> After this operation, 15.2 MB of additional disk space will be used.
>
> Do you want to continue [Y/n]? Y
>
> 0% [Connecting to <proxy_server>]
>
>
>
> Err http://archive.ubuntu.com/ubuntu/ precise/main liberror-perl all
> 0.17-1
>
>   Could not connect to proxy_server:8080 (proxy_server), connection timed
> out
>
>
>
> Please let me know if I need to do some configuration to make the
> container work behind the proxy.
>
>
>

Does your proxy server allow traffic out from that server? Can you connect
to "proxy_server" from the container?

t.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140110/e777c371/attachment.html>


More information about the lxc-users mailing list