docker when pc restarts code example
Example 1: docker restart
sudo systemctl restart docker
Example 2: docker run restart always
$ docker run --restart=always redis
sudo systemctl restart docker
$ docker run --restart=always redis