ERROR: (gcloud.preview) Invalid choice: docker. Did you mean 'dm-v2'?

Somehow, I was able to push the image of my docker into the Google Container Registry with the command:

    $ gcloud preview docker push gcr.io/<my-project-xxx>/<my-image-yyy>

I launched the commands yesterday and copied them into my notes, but today, sticking them to the terminal in the same order, I get an error message:

ERROR: (gcloud.preview) Invalid choice: docker. Did you mean 'dm-v2'?

Why? where was the gcloud preview docker command?

+4
source share
1 answer

From the release notes for 0.9.65 (2015/06/17):

gcloud preview dockermoved to gcloud docker.


gcloud. :

gcloud docker push gcr.io/<my-project-xxx>/<my-image-yyy>
+12

All Articles