I ssh into the machine and tried to start a new container:
~$ sudo -E lxc launch ubuntu:16.04 Creating sauceless-jona error: Get https://cloud-images.ubuntu.com/releases/streams/v1/index.json: Unable to connect to: cloud-images.ubuntu.com:443
~$ printenv | grep PROXY NO_PROXY=10.52.18.2,127.0.0.1,192.168.2.1,192.168.2.2,::1,localhost FTP_PROXY=http://10.52.18.78:3128 HTTPS_PROXY=http://10.52.18.78:3128 HTTP_PROXY=http://10.52.18.78:3128
I also set the proxy into the lxd config like John said and tried again
~$ sudo -E lxc config set core.proxy_https 'http://10.52.18.78:3128' ~$ sudo -E lxc config set core.proxy_http 'http://10.52.18.78:3128' ~$ sudo -E lxc launch ubuntu:16.04 Creating soporiferous-lorene Retrieving image: 100% Starting soporiferous-lorene
~$ sudo -E lxc list +---------------------+---------+------+------+------------+-----------+ | NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | +---------------------+---------+------+------+------------+-----------+ | soporiferous-lorene | RUNNING | | | PERSISTENT | 0 | +---------------------+---------+------+------+------------+-----------+
I ssh into the machine and tried to start a new container:
~$ sudo -E lxc launch ubuntu:16.04 /cloud- images. ubuntu. com/releases/ streams/ v1/index. json: Unable to connect to: cloud-images. ubuntu. com:443
Creating sauceless-jona
error: Get https:/
~$ printenv | grep PROXY 10.52.18. 2,127.0. 0.1,192. 168.2.1, 192.168. 2.2,::1, localhost 10.52.18. 78:3128 10.52.18. 78:3128 10.52.18. 78:3128
NO_PROXY=
FTP_PROXY=http://
HTTPS_PROXY=http://
HTTP_PROXY=http://
I also set the proxy into the lxd config like John said and tried again
~$ sudo -E lxc config set core.proxy_https 'http:// 10.52.18. 78:3128' 10.52.18. 78:3128'
~$ sudo -E lxc config set core.proxy_http 'http://
~$ sudo -E lxc launch ubuntu:16.04
Creating soporiferous-lorene
Retrieving image: 100%
Starting soporiferous-lorene
~$ sudo -E lxc list ------- ------- -+----- ----+-- ----+-- ----+-- ------- ---+--- ------- -+ ------- ------- -+----- ----+-- ----+-- ----+-- ------- ---+--- ------- -+ ------- ------- -+----- ----+-- ----+-- ----+-- ------- ---+--- ------- -+
+------
| NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS |
+------
| soporiferous-lorene | RUNNING | | | PERSISTENT | 0 |
+------