[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Create service account for pushing images in 3.7





$ docker  login --username=$(oc whoami) --password=$(oc whoami -t) os-registry-ext.myos.io

I don't think our auth flow likes the colons in the service account username here.  You don't actually need to provide the username anyway, the token is sufficient, so just run:

 docker login --username=anything --password=$(oc whoami -t) yourregistry.com



That did it, thanks! 

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]