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