# Restart Policies

> What restart policies does Docker support, how do they differ, and which would you use for a production service?

Canonical: https://www.internhack.in/learn/interview/docker-containers/docker-container-restart-policy
Last updated: 2026-11-28

Difficulty: Beginner

## Question

What restart policies does Docker support, how do they differ, and which would you use for a production service?

*The full answer is for InternHack members. Open the page link above to read it.*

## Concepts covered

Restart policy, on-failure, unless-stopped, Exponential backoff, docker update

Previous: [Cleanup Commands](https://www.internhack.in/learn/interview/docker-containers/docker-prune-cleanup) · Next: [Inspecting Network](https://www.internhack.in/learn/interview/docker-containers/docker-inspect-network) · [All of Docker & Containers](https://www.internhack.in/learn/interview/docker-containers)

## More Docker & Containers questions

- [ARG vs. ENV](https://www.internhack.in/learn/interview/docker-containers/docker-build-args-vs-env)
- [Docker Diff](https://www.internhack.in/learn/interview/docker-containers/docker-diff-command)
- [Save vs. Export](https://www.internhack.in/learn/interview/docker-containers/docker-save-vs-export)
- [Docker Top](https://www.internhack.in/learn/interview/docker-containers/docker-top-command)
- [Pruning Volumes](https://www.internhack.in/learn/interview/docker-containers/docker-volume-prune)
- [Copying Files](https://www.internhack.in/learn/interview/docker-containers/docker-cp-command)

## Related

- [Learn](https://www.internhack.in/learn)
- [Interview Prep](https://www.internhack.in/learn/interview)
- [Docker & Containers](https://www.internhack.in/learn/interview/docker-containers)
