Hacker News new | ask | show | jobs
by XorNot 3214 days ago
Lately I've found myself using runit a lot in docker containers. In the happy path with a single process, you still gain because it does leave you a bunch of nice hooks when docker exec'ing to shutdown/restart your main process when your developing.

In the more common path, I rarely have containers which don't more easily share 1 or 2 tightly coupled support containers (and in general I prefer having `docker run` just work, rather then turn into an affair with docker compose).

1 comments

>"In the happy path with a single process ..."

What is meant by "the happy path"? I've seen this reference a couple of time now but have not found a clear explanation.

The path where everything goes right/as expected. No error or special handling is needed.

https://en.wikipedia.org/wiki/Happy_path