2019-10-15 05:34:31 +01:00
|
|
|
# dockerd
|
|
|
|
|
2024-03-14 05:01:06 +00:00
|
|
|
> A persistent process to start and manage Docker containers.
|
2024-05-06 04:02:40 +01:00
|
|
|
> More information: <https://docs.docker.com/reference/cli/dockerd/>.
|
2019-10-15 05:34:31 +01:00
|
|
|
|
2024-03-14 05:01:06 +00:00
|
|
|
- Run Docker daemon:
|
2019-10-15 05:34:31 +01:00
|
|
|
|
|
|
|
`dockerd`
|
|
|
|
|
2024-03-14 05:01:06 +00:00
|
|
|
- Run Docker daemon and configure it to listen to specific sockets (UNIX and TCP):
|
2019-10-15 05:34:31 +01:00
|
|
|
|
|
|
|
`dockerd --host unix://{{path/to/tmp.sock}} --host tcp://{{ip}}`
|
|
|
|
|
|
|
|
- Run with specific daemon PID file:
|
|
|
|
|
|
|
|
`dockerd --pidfile {{path/to/pid_file}}`
|
|
|
|
|
|
|
|
- Run in debug mode:
|
|
|
|
|
|
|
|
`dockerd --debug`
|
|
|
|
|
|
|
|
- Run and set a specific log level:
|
|
|
|
|
2024-04-18 19:38:25 +01:00
|
|
|
`dockerd --log-level {{debug|info|warn|error|fatal}}`
|