Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR: gcloud crashed (TypeError): a bytes-like object is required, not 'str'

Tags:

docker

gcloud

I'm getting the above error after running the below docker command:

gcloud docker --verbosity=error -- push gcr.io/devtest/pipeline:2.0.1

Please help me!

This the Docker version 19.03.8, build afacb8b Windows 10

like image 696
nitinsridar Avatar asked Mar 02 '23 06:03

nitinsridar


1 Answers

gcloud auth configure-docker
docker push gcr.io/devtest/pipeline:2.0.1

With the first command, you have already configured docker to use gcloud as the credential helper. Then you can just use docker as you would for any other registries.

like image 67
orangutan Avatar answered Mar 05 '23 17:03

orangutan