From 7c999d7f93408c951c986d3f4770d316b4cbaa4b Mon Sep 17 00:00:00 2001 From: Guillaume Lours <705411+glours@users.noreply.github.com> Date: Mon, 30 Jun 2025 14:46:51 +0200 Subject: [PATCH] improve publish bind mount warning message Co-authored-by: Nicolas De loof Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com> --- pkg/compose/publish.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/compose/publish.go b/pkg/compose/publish.go index 7a8a9c53c..23f15253d 100644 --- a/pkg/compose/publish.go +++ b/pkg/compose/publish.go @@ -239,8 +239,8 @@ func (s *composeService) preChecks(project *types.Project, options api.PublishOp bindMounts := s.checkForBindMount(project) if len(bindMounts) > 0 { fmt.Println("you are about to publish bind mounts declaration within your OCI artifact.\n" + - "only the bind mount declarations will be added to the OCI artifact\n" + - "please double check that you are not mounting potential sensitive directories or data") + "only the bind mount declarations will be added to the OCI artifact (not content)\n" + + "please double check that you are not mounting potential user's sensitive directories or data") for key, val := range bindMounts { _, _ = fmt.Fprintln(s.dockerCli.Out(), key) for _, v := range val {