google-cloud-utilities
google-cloud-utilities copied to clipboard
WARNING: `gcloud docker` will not be supported for Docker client versions above 18.03.
Getting this warning when using your image. You should switch to:
gcloud auth configure-docker
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.
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 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.
docker has disappeared from latest images. Is this intended behavior?