Hi Ioan, Thanks for reaching out. On Mon, Feb 1, 2021 at 10:47 PM Ioan Rogers via Podman < podman@lists.podman.io> wrote:
Hi,
I'm on Ubuntu, and I've recently encountered an issue when trying to use
rootless podman with the docker-credential-gcloud helper installed via snap.
This works fine when using the official google-cloud-sdk apt packages, and it used to work with snap packages until last October.
Do you recall if it broke with an update to Podman?
Here's what I see now: ``` $ podman pull gcr.io/private/image Trying to pull gcr.io/private/image... 2021/02/01 13:19:17.474248 cmd_run.go:994: WARNING: cannot create user data directory: cannot create "/root/snap/google-cloud-sdk/166": mkdir /root/snap: permission denied cannot create user data directory: /root/snap/google-cloud-sdk/166: Permission denied error getting credentials - err: exit status 1, out: `` Error: unable to pull gcr.io/private/image: Error initializing source docker://gcr.io/private/image:latest: error getting username and password: error getting credentials - err: exit status 1, out: `` ```
So it looks like the credential helper is being executed as root now. I'm not sure in which component the problem lies, or where I should file an issue. Any pointers would be appreciated.
I suspect that's due to the user namespace rootless Podman runs in. Kind regards, Valentin
Thanks
Ioan Rogers
Sent with ProtonMail Secure Email._______________________________________________ Podman mailing list -- podman@lists.podman.io To unsubscribe send an email to podman-leave@lists.podman.io