volume_path configuration for rootless containers is ignored #24586
Labels
kind/bug
Categorizes issue or PR as related to a bug.
locked - please file new issue/PR
Assist humans wanting to comment on an old issue or PR with locked comments.
Issue Description
The
volume_path
configuration option in the/home/$USER/.config/containers/containers.conf
is ignored. Instead the default path/home/$USER/.local/share/containers/storage/volumes
is used. Changing thevolume_path
in/etc/containers/containers.conf
works as intended.I was able to reproduce the issue with version 4.3.1 on Debian 12 and with version 5.3.0 on Arch Linux. I assume that more versions are affected.
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Output of command in step 3:
/home/podman/.local/share/containers/storage/volumes
Output of command in step 5:
/home/podman/.local/share/containers/storage/volumes/test/_data
Describe the results you expected
Output of command in step 3:
/tmp
Output of command in step 5:
/tmp/test/_data
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
No
Additional environment details
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: