mirror of
https://github.com/containers/podman.git
synced 2025-05-20 00:27:03 +08:00
new 'no-dereference' mount option
Add a new `no-dereference` mount option supported by crun 1.11+ to re-create/copy a symlink if it's the source of a mount. By default the kernel will resolve the symlink on the host and mount the target. As reported in #20098, there are use cases where the symlink structure must be preserved by all means. Fixes: #20098 Fixes: issues.redhat.com/browse/RUN-1935 Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
@ -75,6 +75,8 @@ Current supported mount TYPEs are **bind**, **devpts**, **glob**, **image**, **r
|
||||
|
||||
. U, chown: true or false (default). Change recursively the owner and group of the source volume based on the UID and GID of the container.
|
||||
|
||||
. no-dereference: do not dereference symlinks but copy the link source into the mount destination.
|
||||
|
||||
Options specific to tmpfs and ramfs:
|
||||
|
||||
· ro, readonly: true or false (default).
|
||||
|
Reference in New Issue
Block a user