runtime
runtime copied to clipboard
Run systemd failed in clear container
It seems we cannot run systemd in clear container
[root@dca0f971fd25 /]# systemctl enable httpd
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service, pointing to /usr/lib/systemd/system/httpd.service.
[root@dca0f971fd25 /]# systemctl start httpd
Running in chroot, ignoring request.
Any idea to support that?
Ping?
/cc @devimc and @jcvenegas for any thoughts.
@jovizhangwei - do you have an example where this works for runc
per chance? I'm guessing maybe there you are using a --privileged
container? An example of how you ran the container and what you are expecting to see would help.
@jovizhangwei could you please add more information? for example the container you are using and the command used to start the container