In order to restart Docker service we need to execute one the below commands:
service docker restart # or systemctl restart docker
systemis used by older Debian / Ubuntu familiar Linuxes,
systemctlby modern - sometimes
systemis 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.