command to restart docker code example
Example 1: how to restart docker linux
$ sudo systemctl start docker
Example 2: docker run restart always
$ docker run --restart=always redis
$ sudo systemctl start docker
$ docker run --restart=always redis