mirror of https://github.com/docker/docs.git
Merge pull request #23019 from thaJeztah/fix_restart_policy_link
engine/containers: fix link to restart policies
This commit is contained in:
commit
215bfecf42
|
|
@ -10,7 +10,7 @@ aliases:
|
|||
- /config/containers/start-containers-automatically/
|
||||
---
|
||||
|
||||
Docker provides [restart policies](/manuals/engine/containers/run.md#restart-policies---restart)
|
||||
Docker provides [restart policies](/reference/cli/docker/container/run.md#restart)
|
||||
to control whether your containers start automatically when they exit, or when
|
||||
Docker restarts. Restart policies start linked containers in the correct order.
|
||||
Docker recommends that you use restart policies, and avoid using process
|
||||
|
|
@ -22,7 +22,7 @@ a Docker upgrade, though networking and user input are interrupted.
|
|||
|
||||
## Use a restart policy
|
||||
|
||||
To configure the restart policy for a container, use the `--restart` flag
|
||||
To configure the restart policy for a container, use the [`--restart`](/reference/cli/docker/container/run.md#restart) flag
|
||||
when using the `docker run` command. The value of the `--restart` flag can be
|
||||
any of the following:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue