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

It's not that a container can't run multiple processes, but Docker will itself only start one process. If you use, for instance, Apache with the forking MPM, this will work as expected (it'll work).

If you want to start multiple separate processes, then you'll need to use some sort of init system. This is not really any different than Linux itself.



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: