Command to restart docker service on linux

7 points
Created by:

In order to restart docker service we need to execute below command:

service docker restart

Example from my linux cmd:

[root@localhost]# service docker restart
Redirecting to /bin/systemctl restart docker.service

And our docker is up and running.

Hey 👋
Would you like to know what we do?
  • Dirask is online IT community for professionals and hobbyist to share their knowledge and help each other in extraordinary easy way.
  • We welcome everyone
    no matter what the experience,
    no matter how basic the question is,
    this community will help you.