what does docker restart do code example
Example 1: docker restart container
docker restart CONTAINER_ID
Example 2: docker --restart example
# To limit retart attempt, add [:int]
docker run -d --restart=on-failure:3
docker restart CONTAINER_ID
# To limit retart attempt, add [:int]
docker run -d --restart=on-failure:3