summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/containers/mount.go13
1 files changed, 9 insertions, 4 deletions
diff --git a/cmd/podman/containers/mount.go b/cmd/podman/containers/mount.go
index 2de1066a3..186c4df16 100644
--- a/cmd/podman/containers/mount.go
+++ b/cmd/podman/containers/mount.go
@@ -30,13 +30,18 @@ var (
Args: func(cmd *cobra.Command, args []string) error {
return validate.CheckAllLatestAndCIDFile(cmd, args, true, false)
},
+ Annotations: map[string]string{
+ registry.ParentNSRequired: "",
+ },
}
containerMountCommmand = &cobra.Command{
- Use: mountCommand.Use,
- Short: mountCommand.Short,
- Long: mountCommand.Long,
- RunE: mountCommand.RunE,
+ Use: mountCommand.Use,
+ Short: mountCommand.Short,
+ Long: mountCommand.Long,
+ RunE: mountCommand.RunE,
+ Args: mountCommand.Args,
+ Annotations: mountCommand.Annotations,
}
)