Hello, The host on which i work is a remote machine behind a proxy. I have installed the jdk like that and it works well: (I access the remote machine via ssh)
http_proxy=http://proxy:3128 && https_proxy=http://proxy:3128 sudo apt-get install openjdk-7-jre-headless :~# java Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -d32 use a 32-bit data model if available -d64 use a 64-bit data model if available -server to select the "server" VM I'd like to install the JDK inside the container. I proceeded as follows: ubuntu@worker:~$ http_proxy=http://proxy:3128 && https_proxy=http://proxy:3128 ubuntu@worker:~$ sudo apt-get install openjdk-7-jre-headless Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: ca-certificates ca-certificates-java fontconfig-config fonts- dejavu-core java-common libasyncns0 libavahi-client3 libavahi-common-data libavahi-common3 libcups2 libflac8 libfontconfig1 libfreetype6 libglib2.0-0 libglib2.0-data libjpeg-turbo8 libjpeg8 liblcms2-2 libnspr4 libnss3 libnss3-nssdb libogg0 libpcsclite1 libpulse0 libsndfile1 libvorbis0a libvorbisenc2 libxau6 libxcb1 libxdmcp6 libxml2 openssl sgml-base shared-mime-info tzdata-java xml-core ............................ Err http://archive.ubuntu.com/ubuntu/ trusty/main java-common all 0.51 Cannot initiate the connection to archive.ubuntu.com:80 (2001:67c:13......). - connect (101: Network is unreachable) [IP: 2001:67c:13....... 80] Have you an idea please ? Thanks a lot. Best Regards.
_______________________________________________ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-users