[lxc-devel] What environment variables are needed to run unprivileged lxc-start?

Serge Hallyn serge.hallyn at ubuntu.com
Tue Jan 13 17:16:12 UTC 2015


Quoting Adam Ryczkowski (adam.ryczkowski at statystyka.net):
> I want to write a Puppet manifest for managing unprivileged lxc
> containers on Ubuntu. Puppet by default strips all environment
> variables when calls external programs, such as lxc-start.
> Does anyone knows, what environment variables are needed to run lxc
> container (apart from $HOME, which is needed for lxc-create)?

Probably looking at src/tests/lxc-test-unpriv should give you
an idea as it has to do basically that.


More information about the lxc-devel mailing list