docker run as daemon code example
Example 1: Start the Docker daemon
sudo systemctl start docker
sudo service docker start
Example 2: how to start docker
systemctl start docker.service
#(OR)
systemctl start docker
# it will start docker
Example 3: start service docker on linux
sudo systemctl start docker service
sudo systemctl stop docker service