Open Stono opened 3 years ago
Have you confirmed that your setup is correct, eg. by running docker pull
?
You don't need docker login
if the credential helper is properly configured already.
Hello @tonistiigi, Yes that was my expectation too.
For context; our CI agents currently don't use buildx, they're using docker and docker-compose with the credHelper. I was experimenting switching out to buildx
, but ran into this problem (on the same agents that authenticate just fine without buildx).
I did check the environment was setup correctly, but will tripple check again for you in the next day or two! Thanks
@Stono did you ever get this to work?
Hey, I'm trying to use
buildx
to do some multi-arch builds in our infrastructure. We use Google Container Registry which configures credHelpers like so:However when using
buildx --push
, I get a 401:I'd imagine I can get around this by running a
docker login
first? But feels a bit crude?Should this be working (eg not sure if it's a bug, feature request, or never-gonna-happen).