Add docs for "--containerd" in dockerd

Signed-off-by: ohmystack <jiangjun1990@gmail.com>
Upstream-commit: cebb9543e1ae2263905562d1c54e380005d5fe4f
Component: engine
This commit is contained in:
ohmystack
2016-08-29 16:00:52 +08:00
committed by ohmystack
parent d2c0d3d29a
commit 73a8f8cdeb

View File

@ -594,6 +594,14 @@ The Docker daemon relies on a
(invoked via the `containerd` daemon) as its interface to the Linux
kernel `namespaces`, `cgroups`, and `SELinux`.
By default, the Docker daemon automatically starts `containerd`. If you want to
control `containerd` startup, manually start `containerd` and pass the path to
the `containerd` socket using the `--containerd` flag. For example:
```bash
$ dockerd --containerd /var/run/dev/docker-containerd.sock
```
Runtimes can be registered with the daemon either via the
configuration file or using the `--add-runtime` command line argument.