EN
Command to restart docker service on linux
7
points
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 - sometimessystem
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.