how to restart docker service code example
Example 1: how to restart docker linux
$ sudo systemctl start docker
Example 2: docker restart
sudo systemctl restart docker
Example 3: docker restart container
docker restart CONTAINER_ID
$ sudo systemctl start docker
sudo systemctl restart docker
docker restart CONTAINER_ID