google-cloud-utilities icon indicating copy to clipboard operation
google-cloud-utilities copied to clipboard

WARNING: `gcloud docker` will not be supported for Docker client versions above 18.03.

Open aledalgrande opened this issue 6 years ago • 4 comments

Getting this warning when using your image. You should switch to:

gcloud auth configure-docker

aledalgrande avatar Jul 09 '18 21:07 aledalgrande

Thanks @aledalgrande. We have this on our radar, but it will require some larger changes in our build environment to get this all working. Will update here and on https://github.com/codeship-library/google-cloud-utilities/issues/25 when there are further details.

joesiewert avatar Jul 16 '18 23:07 joesiewert

Just an FYI, when I was deploying from Github to Codeship, Codeship was hanging during gcloud auth configure-docker and was spinning for hours. I took that out and is now working appropriately. However, this correlated to GCP/GCR images. Going out on the limb here, perhaps could be the push from codeship-steps and then reiterating it again in the deploy.sh when to deploy to GKE. Seeing that Codeship docker image on docker hub is already being used. Just food for thought.

Arconapalus avatar Oct 11 '18 20:10 Arconapalus

@Arconapalus I had the same issue with the build hanging when attempting to run that command. The problem was that it prompts the user to confirm (by entering Y or N) that it can add the authorisers to the docker config file.

If you instead run the command: gcloud auth configure-docker -q

It will run in a non-interactive mode and works as expected.

chriskellet avatar Feb 13 '19 14:02 chriskellet

docker has disappeared from latest images. Is this intended behavior?

DanielJoyce avatar Apr 15 '19 22:04 DanielJoyce