2025-03-14 21:59:59 -06:00
|
|
|
# dockerd
|
|
|
|
|
|
|
|
|
|
> A persistent process to start and manage Docker containers.
|
|
|
|
|
> More information: <https://docs.docker.com/reference/cli/dockerd/>.
|
|
|
|
|
|
|
|
|
|
- Run Docker daemon:
|
|
|
|
|
|
|
|
|
|
`dockerd`
|
|
|
|
|
|
|
|
|
|
- Run Docker daemon and configure it to listen to specific sockets (UNIX and TCP):
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`dockerd {{[-H|--host]}} unix://{{path/to/tmp.sock}} {{[-H|--host]}} tcp://{{ip}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Run with specific daemon PID file:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`dockerd {{[-p|--pidfile]}} {{path/to/pid_file}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Run in debug mode:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`dockerd {{[-D|--debug]}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Run and set a specific log level:
|
|
|
|
|
|
2025-07-24 22:27:13 -06:00
|
|
|
`dockerd {{[-l|--log-level]}} {{debug|info|warn|error|fatal}}`
|