root run podman
get: 'Failed to obtain podman configuration: runroot must be set'
#25268
Labels
kind/bug
Categorizes issue or PR as related to a bug.
Issue Description
I am using podman 5.3.2 on ubuntu 24.04, I installed podman using homebrew with user A.
I modified
/etc/containers/registries.conf
and this worked for user A but not for B.Recently, I tried to run
podman
as user ROOT, and I gained:This means I cannot do anything with podman as user ROOT.
I followed this instruction, modified
/etc/containers/storage.conf
:but this didn't work.
Finally I tried to modify the
/home/linuxbrew/.linuxbrew/etc/containers/storage.conf
and this finally worked.I then used
podman system reset
and then deleted all the config files, I found that I can use podman as user ROOT now.I have some questions:
/home/linuxbrew/.linuxbrew/etc/containers/
and/etc/containers/
)?/etc/containers/registries.conf
works for user A but/etc/containers/storage.conf
does not work for user ROOT?I think this maybe some sort of bug.
Steps to reproduce the issue
Steps to reproduce the issue
Describe the results you received
Describe the results you expected
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: