Start the daemon (original) (raw)
This page shows how to start the daemon, either manually or using OS utilities.
On a typical installation the Docker daemon is started by a system utility, not manually by a user. This makes it easier to automatically start Docker when the machine reboots.
The command to start Docker depends on your operating system. Check the correct page underInstall Docker.
Start with systemd
On some operating systems, like Ubuntu and Debian, the Docker daemon service starts automatically. Use the following command to start it manually:
If you want Docker to start at boot, seeConfigure Docker to start on boot.
If you don't want to use a system utility to manage the Docker daemon, or just want to test things out, you can manually run it using the dockerd
command. You may need to use sudo
, depending on your operating system configuration.
When you start Docker this way, it runs in the foreground and sends its logs directly to your terminal.
To stop Docker when you have started it manually, issue a Ctrl+C
in your terminal.