I have an issue with lxc and the fact I am behind a proxy (I think).
In Ubuntu, I have set $http_proxy and $https_proxy env vars and also in lxc config but when I do:
sudo lxc lauch ubuntu:16.04
I get:
Error…proxyconnect tcp: EOF
Note I need to pass my username and password when using the proxy: i.e.:
http_proxy = http://username:password@<IP>:<port>/
which I have mirrored in lxc config:
sudo lxc config set core.proxy_http http://username:password@<IP>:<port>/
With the env vars set the internet works for e.g. apt-get but not lxc
Is my syntax correct and am I setting the proxy in lxc config correctly?