docker run command when restarting container code example
Example 1: docker restart
sudo systemctl restart docker
Example 2: docker restart container
docker restart CONTAINER_ID
sudo systemctl restart docker
docker restart CONTAINER_ID