Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Authenticate to Google Container Registry with Podman

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

like image 883
CeeTee Avatar asked Jan 24 '23 18:01

CeeTee


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

like image 67
Cam Avatar answered Feb 11 '23 22:02

Cam