dockerd is the command used to start the Docker daemon on Linux systems. The Docker daemon is a background process that manages the Docker environment and is responsible for creating, starting, stopping, and managing Docker containers. The dockerd command is typically used to start the Docker daemon as a service during system boot, but can also be used to start the daemon manually or with specific options.
dockerd Command Examples
1. Run docker daemon:
# dockerd
2. Run docker daemon and config it to listen to specific sockets (UNIX and TCP):
# dockerd --host unix://path/to/tmp.sock --host tcp://ip
3. Run with specific daemon PID file:
# dockerd --pidfile path/to/pid_file
4. Run in debug mode:
# dockerd --debug
5. Run and set a specific log level:
# dockerd --log-level=debug|info|warn|error|fatal