summaryrefslogtreecommitdiff
path: root/cmd/podman/registry/config.go
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-07-09 14:53:46 -0400
committerDaniel J Walsh <dwalsh@redhat.com>2020-08-20 13:35:11 -0400
commit4e31c8136dffd2272e49715b83fba092621ffd2a (patch)
tree52070eed2d7619f1a33c40ff826c681fb6dc6e7f /cmd/podman/registry/config.go
parent386de7a1fbfef0c266e04f6471f9382a5d39a02f (diff)
downloadpodman-4e31c8136dffd2272e49715b83fba092621ffd2a.tar.gz
podman-4e31c8136dffd2272e49715b83fba092621ffd2a.tar.bz2
podman-4e31c8136dffd2272e49715b83fba092621ffd2a.zip
Cleanup handling of podman mount/unmount
We should default to the user name unmount rather then the internal name of umount. Also User namespace was not being handled correctly. We want to inform the user that if they do a mount when in rootless mode that they have to be first in the podman unshare state. Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/registry/config.go')
-rw-r--r--cmd/podman/registry/config.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/podman/registry/config.go b/cmd/podman/registry/config.go
index 24e728bad..ea33e3a4e 100644
--- a/cmd/podman/registry/config.go
+++ b/cmd/podman/registry/config.go
@@ -15,7 +15,8 @@ import (
)
const (
- ParentNSRequired = "ParentNSRequired"
+ ParentNSRequired = "ParentNSRequired"
+ UnshareNSRequired = "UnshareNSRequired"
)
var (