Languages
[Edit]
EN

Command to restart docker service on linux

7 points
Created by:
Root-ssh
121100

In order to restart Docker service we need to execute one the below commands:

service docker restart

# or

systemctl restart docker

Note: system is used by older Debian / Ubuntu familiar Linuxes, systemctl by modern - sometimes system is installed in modern Linuxes for the legacy case only.

Example from my Linux command line:

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

And our Docker is up and running.

Native Advertising
🚀
Get your tech brand or product in front of software developers.
For more information Contact us
Dirask - we help you to
solve coding problems.
Ask question.

❤️💻 🙂

Join