Skip to content

Commit 7c999d7

Browse files
gloursndeloof
andcommitted
improve publish bind mount warning message
Co-authored-by: Nicolas De loof <nicolas.deloof@gmail.com> Signed-off-by: Guillaume Lours <705411+glours@users.noreply.github.com>
1 parent ad750d6 commit 7c999d7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/compose/publish.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,8 @@ func (s *composeService) preChecks(project *types.Project, options api.PublishOp
239239
bindMounts := s.checkForBindMount(project)
240240
if len(bindMounts) > 0 {
241241
fmt.Println("you are about to publish bind mounts declaration within your OCI artifact.\n" +
242-
"only the bind mount declarations will be added to the OCI artifact\n" +
243-
"please double check that you are not mounting potential sensitive directories or data")
242+
"only the bind mount declarations will be added to the OCI artifact (not content)\n" +
243+
"please double check that you are not mounting potential user's sensitive directories or data")
244244
for key, val := range bindMounts {
245245
_, _ = fmt.Fprintln(s.dockerCli.Out(), key)
246246
for _, v := range val {

0 commit comments

Comments
 (0)