diff --git a/compose/compose-file/compose-file-v2.md b/compose/compose-file/compose-file-v2.md index 32664c7898..e3dddb6c43 100644 --- a/compose/compose-file/compose-file-v2.md +++ b/compose/compose-file/compose-file-v2.md @@ -913,6 +913,7 @@ Each of these is a single value, analogous to its stdin_open: true tty: true +{: id="orig-resources" } ## Specifying durations diff --git a/compose/compose-file/index.md b/compose/compose-file/index.md index da0b631f54..23c322c763 100644 --- a/compose/compose-file/index.md +++ b/compose/compose-file/index.md @@ -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