Somehow I was able to push my docker image to Google Container Registry with command:
$ gcloud preview docker push gcr.io/<my-project-xxx>/<my-image-yyy>
I ran the commands yesterday and copied them to my notes, but today pasting them to terminal in the same order I get the error:
ERROR: (gcloud.preview) Invalid choice: 'docker'. Did you mean 'dm-v2'?
Why is that? where did teh "gcloud preview docker" command are then?
From the release notes 0.9.65 (2015/06/17):
gcloud preview docker
moved togcloud docker
.
The command was moved out of preview in the latest version of gcloud. You can run it with:
gcloud docker push gcr.io/<my-project-xxx>/<my-image-yyy>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With