spiegel_podman/pkg/domain
Paul Holzinger 647c2024e2 Fix volumes with uid and gid options
Podman uses the volume option map to check if it has to mount the volume
or not when the container is started. Commit 28138dafcc added to uid
and gid options to this map, however when only uid/gid is set we cannot
mount this volume because there is no filesystem or device specified.
Make sure we do not try to mount the volume when only the uid/gid option
is set since this is a simple chown operation.

Also when a uid/gid is explicity set, do not chown the volume based on
the container user when the volume is used for the first time.

Fixes #10620

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
2021-06-25 09:32:22 -04:00
..
entities Fix documentation of the --format option of podman push 2021-06-24 13:47:21 -04:00
filters Add restart-policy to container filters & --filter to podman start 2021-05-06 14:35:15 +03:00
infra Fix volumes with uid and gid options 2021-06-25 09:32:22 -04:00
utils Fixup issues found by golint 2020-06-10 05:49:41 -04:00