mirror of https://github.com/docker/docs.git
fixed link to Compose v2 restart
Signed-off-by: Victoria Bialas <victoria.bialas@docker.com>
This commit is contained in:
parent
5eb8434212
commit
a020b82489
|
@ -913,6 +913,7 @@ Each of these is a single value, analogous to its
|
|||
stdin_open: true
|
||||
tty: true
|
||||
|
||||
{: id="orig-resources" }
|
||||
|
||||
## Specifying durations
|
||||
|
||||
|
|
|
@ -265,7 +265,7 @@ resources:
|
|||
#### restart_policy
|
||||
|
||||
Configures if and how to restart containers when they exit. Replaces
|
||||
[`restart`](compose-file-v2.md#cpushares-cpuquota-cpuset-domainname-hostname-ipc-macaddress-memlimit-memswaplimit-oomscoreadj-privileged-readonly-restart-shmsize-stdinopen-tty-user-workingdir).
|
||||
[`restart`](compose-file-v2.md#orig-resources).
|
||||
|
||||
- `condition`: One of `none`, `on-failure` or `any` (default: `any`).
|
||||
- `delay`: How long to wait between restart attempts, specified as a
|
||||
|
|
Loading…
Reference in New Issue