Lxc (and libvirt) already set the "container" env variable appropriately[1], so just use that. [1] http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/ Upstream-commit: e8772943215fff3e17642ad410e4815e40e96b8b Component: engine
Lxc (and libvirt) already set the "container" env variable appropriately[1], so just use that. [1] http://www.freedesktop.org/wiki/Software/systemd/ContainerInterface/ Upstream-commit: e8772943215fff3e17642ad410e4815e40e96b8b Component: engine