[pkg-go] Bug#1037091: podman run fails because of missing ~/.config/docker/config.json
Faidon Liambotis
paravoid at debian.org
Fri Jul 14 18:52:39 BST 2023
On Sun, Jun 04, 2023 at 02:52:56PM +0200, Felix Stupp wrote:
> the current version of podman does not allow me to run any container due
> to the following error message:
> Error: stat /home/$USER/.config/docker/config.json: no such file or directory
>
> I can trigger this issue with a simple: podman run debian
> However, what container I try to run seems not to matter.
>
> [...]
>
> However, it still seems at least weird to me, that podman requires (not
> just reads optionally) a config file which is in Docker's config dir.
That is indeed weird. Is there any config (either in your .config,
or in /etc) that has been modified in your system?
For example, do you perhaps have a registry configured, and one that
requires a login? An unqualified "podman run debian" could try to
resolve this to your local registry, which in turn may require a login,
which implicitly calls "podman login", which in turn attempts to read
from a variety of config paths, including $HOME/.docker/config.json.
Regards,
Faidon
More information about the Pkg-go-maintainers
mailing list