Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compose/compose-file/compose-file-v3.md
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ and see [Understand the risks of running out of memory](../../config/containers/
Configures if and how to restart containers when they exit. Replaces
[`restart`](compose-file-v2.md#orig-resources).

- `condition`: One of `none`, `on-failure` or `any` (default: `any`).
- `condition`: One of `no`, `on-failure`, `always` or `unless-stopped` (default: `no`).
- `delay`: How long to wait between restart attempts, specified as a
[duration](#specifying-durations) (default: 5s).
- `max_attempts`: How many times to attempt to restart a container before giving
Expand Down