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
Public bug reported:
I have lxc containers set up as an unprivileged user.
When I start my containers, the root user has the $HOME environmental
variable set, pointing at the unprivileged user.
This is the faulty session:
sputnik is the host, lamp2 is the lxc container
ruben@sputnik:~$ echo $H