docker restart pod code example Example: docker --restart example # To limit retart attempt, add [:int] docker run -d --restart=on-failure:3