Skip to content

Commit b6f1937

Browse files
committed
Added init process to docs
1 parent ccce68b commit b6f1937

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

content/en/docs/measuring/usage-scenario.md

+2
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ services:
101101
+ Or list items with strings in the format: *MYSQL_PASSWORD=123*
102102
- `ports:` **[int:int]** *(optional)*
103103
+ Docker container portmapping on host OS to be used with `--allow-unsafe` flag.
104+
- `init:` **[boolean]**
105+
+ Will start a PID 1 *init* process in the container that helps when you are experiencing zombie processes and memory leaks. See [Docker Docs](https://docs.docker.com/reference/cli/docker/container/run/#init) for details
104106
- `depends_on:` **[list|dict]** *(optional)*
105107
+ Can either be an list of services names on which the service is dependent. It affects the startup order and forces the dependency to be started (container state = "running") before the service is started.
106108
+ Or it can be an dict where you can specify a condition. The `condition` can have two values:

0 commit comments

Comments
 (0)