From 026ed1eb42dca007be8884e98da393e794efd0c7 Mon Sep 17 00:00:00 2001 From: ssongliu <73214554+ssongliu@users.noreply.github.com> Date: Wed, 15 Oct 2025 13:38:27 +0800 Subject: [PATCH] fix: Fix the issue of abnormal container sharing mode modification (#10644) --- agent/app/service/container.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/app/service/container.go b/agent/app/service/container.go index 133f2f5c4..ff46f8846 100644 --- a/agent/app/service/container.go +++ b/agent/app/service/container.go @@ -1509,7 +1509,7 @@ func loadConfigInfo(isCreate bool, req dto.ContainerOperate, oldContainer *conta Target: volume.ContainerDir, ReadOnly: volume.Mode == "ro", } - if volume.Type == "mount" { + if volume.Type == "bind" { item.BindOptions = &mount.BindOptions{ Propagation: mount.Propagation(volume.Shared), }