Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit c2bb183

Browse files
ctalledorodnymolina
authored andcommitted
Added note regarding lack of support for docker run --init flag.
1 parent 383c352 commit c2bb183

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

docs/usage.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,3 +400,18 @@ Sysbox does not yet support running on systems with SELinux enabled.
400400
### Others
401401

402402
Sysbox does not have support for other Linux LSMs at this time.
403+
404+
## Support for Docker Run --init Flag
405+
406+
The `docker run` command has a `--init` flag that inserts a tiny
407+
init-process into the container as the main process, to handle reaping
408+
of processes when the container exits.
409+
410+
It's useful when running multiple apps / services in a container.
411+
412+
Sysbox does not currently support this flag. We are working on a
413+
solution to this.
414+
415+
As an alternative, you can insert supervisord into the container, or
416+
use a bash shell wrapper script to start multiple services, as
417+
recommnded by Docker [here](https://docs.docker.com/config/containers/multi-service_container/).

0 commit comments

Comments
 (0)