Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why are you saying there's no systemd in containers? Systemd works perfectly both outside and inside containers, docker or any others.


I'm sure it does, however it's supposed to.

What I mean is that systemctl isn't available in containers:

   root@foo:~# systemctl status sshd
   bash: systemctl: command not found


Yeah, I know that I ought to be managing services in containers with systemctl in the host. I just haven't learned that yet.


That means only that you run an OS without systemd inside the container. Which you are not required to.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: