← 返回命令列表

Linux command

dockerd 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Example

dockerd

Example

dockerd -H unix://[path/to/tmp.sock] -H tcp://[ip_address]

Example

dockerd -p [path/to/pid_file]

Example

dockerd -D

Example

dockerd -l [debug|info|warn|error|fatal]

说明

dockerd is the Docker daemon process that manages containers, images, networks, and volumes. It's a persistent background service that listens for Docker API requests. Usually managed by systemd rather than run directly.

参数

-H, --host _socket_
Socket to listen on (unix://, tcp://, fd://)
-p, --pidfile _file_
PID file path
-D, --debug
Enable debug mode
-l, --log-level _level_
Logging level
--storage-driver _driver_
Storage driver (overlay2, devicemapper, etc.)
--data-root _path_
Root directory for Docker data (default /var/lib/docker).
--tls, --tlsverify
Use TLS (and verify remote certificates).
--tlscert _file_, --tlskey _file_, --tlscacert _file_
TLS certificate, key, and trusted CA for secure daemon connections.
--userland-proxy=_true|false_
Enable userland-proxy for loopback traffic to published ports.
--live-restore
Keep containers alive during daemon downtime.

FAQ

What is the dockerd command used for?

dockerd is the Docker daemon process that manages containers, images, networks, and volumes. It's a persistent background service that listens for Docker API requests. Usually managed by systemd rather than run directly.

How do I run a basic dockerd example?

Run `dockerd` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -H, --host _socket_ do in dockerd?

Socket to listen on (unix://, tcp://, fd://)