Thanks! For those stumbling with this thing, the manpage do state that the default behaviour is to keep all the external env, and that it may change in the future.
http://manpages.ubuntu.com/manpages/trusty/man1/lxc-attach.1.html -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1513698 Title: $HOME variable set incorrectly inside container To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1513698/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs