Browse Source

improve publish bind mount warning message

Co-authored-by: Nicolas De loof <[email protected]>
Signed-off-by: Guillaume Lours <[email protected]>
Guillaume Lours 5 months ago
parent
commit
7c999d7f93
1 changed files with 2 additions and 2 deletions
  1. 2 2
      pkg/compose/publish.go

+ 2 - 2
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 {