Authenticate to Google Container Registry with Podman

Viewed 2311

The Google Container Registry documentation provides very good help on authenticating to it with Docker. Is there a way to do the same with Podman? The Google doc mentions Access Token as a method. Maybe that could work. If anybody has any advice or experience of this, I'd really appreciate your help

1 Answers

gcloud auth print-access-token | podman login -u oauth2accesstoken --password-stdin XX.gcr.io the xx.gcr.io is the host name. for example http://us.gcr.io etc use this doc

Related