Files
docker-cli/components/engine/man
Michael Crosby 8ee0f56810 Add init process for zombie fighting
This adds a small C binary for fighting zombies.  It is mounted under
`/dev/init` and is prepended to the args specified by the user.  You
enable it via a daemon flag, `dockerd --init`, as it is disable by
default for backwards compat.

You can also override the daemon option or specify this on a per
container basis with `docker run --init=true|false`.

You can test this by running a process like this as the pid 1 in a
container and see the extra zombie that appears in the container as it
is running.

```c

int main(int argc, char ** argv) {
	pid_t pid = fork();
	if (pid == 0) {
		pid = fork();
		if (pid == 0) {
			exit(0);
		}
		sleep(3);
		exit(0);
	}
	printf("got pid %d and exited\n", pid);
	sleep(20);
}
```

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: ee3ac3aa66bfb27b7c21dfb253fdaa113baedd4e
Component: engine
2016-09-19 17:33:50 -07:00
..
2016-09-15 09:55:29 +00:00
2016-02-17 11:55:56 +08:00
2015-10-13 11:52:14 -04:00
2016-02-25 09:48:21 +08:00
2015-11-10 09:33:55 +08:00
2016-02-25 09:48:21 +08:00
2016-09-02 13:06:08 +08:00
2016-02-25 09:48:21 +08:00
2016-08-15 14:14:41 +02:00
2016-03-22 08:16:52 +01:00
2015-11-10 09:33:55 +08:00
2016-08-30 12:07:38 +08:00
2016-08-18 20:43:50 -04:00
2016-09-08 15:46:29 -04:00
2016-09-08 17:25:56 +00:00
2016-07-22 09:43:08 +01:00

Docker Documentation

This directory contains scripts for generating the man pages. Many of the man pages are generated directly from the spf13/cobra Command definition. Some legacy pages are still generated from the markdown files in this directory. Do not edit the man pages in the man1 directory. Instead, update the Cobra command or amend the Markdown files for legacy pages.

Generate the man pages

From within the project root directory run:

make manpages