mirror of
https://github.com/containers/podman.git
synced 2025-11-30 10:07:33 +08:00
This matches the behavior of other volume and mount types. Image volumes and volumes/mounts from the `--volumes-from` flag should be overridden by actual user-specified named volumes and mounts, but this was not true for overlay mounts. Fortunately, our duplicate-mount detection logic still works, so we got a good error message at least. The fix is simple - extend our supersede logic, which currently only works with named volumes and mounts, to also work with overlay mounts. Fixes #24555 Signed-off-by: Matt Heon <mheon@redhat.com>
15 KiB
15 KiB