From 7086c9f94a90f5318ce159e2273f9dd9b56d33ca Mon Sep 17 00:00:00 2001 From: khs1994 Date: Sun, 5 May 2024 09:06:41 +0800 Subject: [PATCH] Sync from docker/docker.github.io@08bcc39 by PCIT --- content/compose/compose-file/05-services.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/compose/compose-file/05-services.md b/content/compose/compose-file/05-services.md index ed614aad..5478a808 100644 --- a/content/compose/compose-file/05-services.md +++ b/content/compose/compose-file/05-services.md @@ -1497,7 +1497,7 @@ Optionally, limit the number of restart retries the Docker daemon attempts. ``` You can find more detailed information on restart policies in the -[Restart Policies (--restart)](/engine/reference/run/#restart-policies---restart) +[Restart Policies (--restart)](../../reference/cli/docker/container/run.md#restart) section of the Docker run reference page. ## runtime @@ -1599,7 +1599,7 @@ security_opt: - label:role:ROLE ``` -For further default labeling schemes you can override, see [Security configuration](https://docs.docker.com/engine/reference/run/#security-configuration). +For further default labeling schemes you can override, see [Security configuration](../../reference/cli/docker/container/run.md#security-opt). ## shm_size @@ -1661,7 +1661,7 @@ sysctls: You can only use sysctls that are namespaced in the kernel. Docker does not support changing sysctls inside a container that also modify the host system. For an overview of supported sysctls, refer to [configure namespaced kernel -parameters (sysctls) at runtime](https://docs.docker.com/engine/reference/commandline/run/#sysctl). +parameters (sysctls) at runtime](../../reference/cli/docker/container/run.md#sysctl). ## tmpfs