check docker is running ubuntu code example
Example 1: Start the Docker daemon
sudo systemctl start docker
sudo service docker start
Example 2: how check status docker in ubuntu
sudo systemctl status docker
#(OR)
systemctl status docker.service
# To check the status of Docker whether running or not.