mirror of
https://github.com/containers/podman.git
synced 2025-12-08 06:39:05 +08:00
mount: allow mount only when using vfs
when using a driver different than vfs, the mount is probably in a different mount namespace thus not accessible from the host. Avoid the confusion by not allowing mount when a different driver is used. Closes: https://github.com/containers/libpod/issues/1964 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
This commit is contained in:
@@ -34,6 +34,7 @@ var cmdsNotRequiringRootless = map[string]bool{
|
||||
// If this change, please also update libpod.refreshRootless()
|
||||
"login": true,
|
||||
"logout": true,
|
||||
"mount": true,
|
||||
"kill": true,
|
||||
"pause": true,
|
||||
"restart": true,
|
||||
|
||||
Reference in New Issue
Block a user