check status of docker service ubuntu code example
Example: 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.
sudo systemctl status docker
#(OR)
systemctl status docker.service
# To check the status of Docker whether running or not.