On Thu, Jun 02, 2016 at 12:00:45AM +0900, Tomasz Chmielewski wrote: > I've moved an offline container from one server to another. > > Started it there, and trying to use curl: > > # curl www.example.com > curl: (5) Could not resolve proxy: fe80::1%eth0] > > It's because this variable is set: > > # echo $http_proxy > http://[fe80::1%eth0]:13128 > > > What sets this and why? > > I didn't set it on the host (on the host http_proxy is empty) nor in the > container. > > > Tomasz Chmielewski > http://wpkg.org
It gets set by LXD when you have an unconfigured lxdbr0 bridge (without an IP address). Once you configure your bridge's network, that variable is no longer set. Do reconfigure lxdbr0 you can do: sudo dpkg-reconfigure -p medium lxd If you already did configure it and the environment variable is still exported, you can manually clean it up with: lxc profile edit default -- Stéphane Graber Ubuntu developer http://www.ubuntu.com
signature.asc
Description: PGP signature
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
