KillingSpark / rustysd

A service manager that is able to run "traditional" systemd services, written in rust
MIT License
506 stars 15 forks source link

Docker PID 1 #9

Closed xavier83 closed 4 years ago

xavier83 commented 4 years ago

Can it be used as a replacement for https://github.com/Yelp/dumb-init inside a docker container?

KillingSpark commented 4 years ago

So the current Plan is to Support this usecase. But i dont want to promise anything for the future

KillingSpark commented 4 years ago

Since I am not exactly an expert on docker, would you be willing to setup a simple use-case where you would use dumb-init? I would then try to make it work with rustysd, which "should" work. I'd love to see if it actually does

KillingSpark commented 4 years ago

Ok, so I was able to run the current tests services in docker using rustysd as the entrypoint, so I would assume you could use rustysd as a replacement of dumb-init.

If there arise any issues from using it as pid1 in a docker container please let me know!