Could not push Docker images to Google Container Registry

Posted June 29, 2017 by  ‐ 1 min read

Today I updated the Docker daemon on my Mac ( Running macOS Sierra ) and after that, I just could not push any images to Google Container Registry. It fails with the following message

➜ gcloud docker -- push
ERROR: Docker CLI operation failed:

Error response from daemon: login attempt to failed with status: 404 Not Found

ERROR: (gcloud.docker) Docker login failed.

Luckily, the fix was simple enough.

Click on the Docker icon » Preferences and uncheck Securely store docker logins in macOS keychain

Docker Preferences

And then

Docker Preferences

That’s it. Restart the docker daemon and it should start working again.