Follow this process to install docker on your Linux® machine and run the daemon.
-
Download and install docker, as shown in the example.
curl -fsSL https://get.docker.com/ | sh
-
Start the docker daemon.
sudo systemctl start docker
-
Verify that the docker daemon is running.
sudo systemctl status docker
-
Enable docker to start each time the system starts.
sudo systemctl enable docker