[lxc-users] Systemd inside lxc
Fajar A. Nugraha
list at fajar.net
Wed Jun 3 04:21:14 UTC 2015
systemd support is somewhat a fast-moving target. In the past it was
possible to have old version of systemd running with old version of
lxc, BUT the container can mess up the host due to unlimited
privileges needed.
Currently AFAIK you need lxcfs, lxc 1.1.x, latest systemd, and
privileged container to have systemd running in the container. If you
don't have either one of them, you'll run into problems.
Try installing the bits you're still missing.
--
Fajar
On Wed, Jun 3, 2015 at 6:25 AM, SIVA SUBRAMANIAN.P <psiva87 at gmail.com> wrote:
> No, I don't lxcfs and it's privileged container.
>
> On Tue, Jun 2, 2015 at 3:40 PM, Fajar A. Nugraha <list at fajar.net> wrote:
>>
>> On Wed, Jun 3, 2015 at 2:27 AM, SIVA SUBRAMANIAN.P <psiva87 at gmail.com>
>> wrote:
>> > lxc-attach works. But not able to find systemctl?
>>
>> which version of systemd did you use inside the container?
>> did you ALSO have lxcfs on the host?
>> Is it unprivileged container?
More information about the lxc-users
mailing list