LinuxCommandLibrary

dockerd

Docker daemon background service

TLDR

Run Docker daemon

$ dockerd
copy
Listen on specific sockets
$ dockerd -H unix://[path/to/tmp.sock] -H tcp://[ip_address]
copy
Specify PID file
$ dockerd -p [path/to/pid_file]
copy
Run in debug mode
$ dockerd -D
copy
Set log level
$ dockerd -l [debug|info|warn|error|fatal]
copy

SYNOPSIS

dockerd [options]

DESCRIPTION

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.

PARAMETERS

-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

CONFIGURATION

/etc/docker/daemon.json

Main configuration file for the Docker daemon. Controls storage drivers, logging, networking, registry mirrors, and runtime settings.

CAVEATS

Requires root privileges or proper group membership. Configuration typically via /etc/docker/daemon.json. Exposing TCP socket without TLS is insecure.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community