Difficulty: Beginner
What are the different Docker restart policies?
`no` (default), `on-failure` (only if exit code non-zero), `always` (always restarts), `unless-stopped` (restarts unless manually stopped).
Restart, Always, Unless-stopped
JavaScript is required for the interactive version of this page, including the code playground and progress tracking. Browse all InternHack tutorials.