docker "--restart" code example
Example 1: how to restart docker linux
$ sudo systemctl start docker
Example 2: docker run restart on boot
$ docker run -d --restart unless-stopped <image>
$ sudo systemctl start docker
$ docker run -d --restart unless-stopped <image>