From 74bace156ccfcee69c3c0ac84806ed488adb69e0 Mon Sep 17 00:00:00 2001 From: Akihiro Suda Date: Mon, 16 Oct 2023 10:13:18 +0900 Subject: [PATCH] docs: add `bind-recursive` mount option Follow-up to PR 4316 Signed-off-by: Akihiro Suda --- docs/reference/commandline/service_create.md | 35 ++++++++++++++++---- man/docker-run.1.md | 14 +++++--- 2 files changed, 38 insertions(+), 11 deletions(-) diff --git a/docs/reference/commandline/service_create.md b/docs/reference/commandline/service_create.md index dcd0a851b5..442df249e3 100644 --- a/docs/reference/commandline/service_create.md +++ b/docs/reference/commandline/service_create.md @@ -394,7 +394,7 @@ volumes in a service:

The Engine mounts binds and volumes read-write unless readonly option is given when mounting the bind or volume. Note that setting readonly for a - bind-mount does not make its submounts readonly on the current Linux implementation. See also bind-nonrecursive.

+ bind-mount may not make its submounts readonly depending on the kernel version. See also bind-recursive.