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.
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.
Thanks
Ioan Rogers
Sent with ProtonMail Secure Email.