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

Somehow I was able to push my docker image to Google Container Registry with command:

    $ gcloud preview docker push<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:

  • How do I push an image to my NON-public repo in dockerhub
  • How do you pass an environment variable to Solr running inside Docker when the environment variable only exists inside the container?
  • Linking Containers / Building Images In Docker
  • Post request with form data raising 400 error in mocha test
  • Run Chromium inside container: libGl error
  • Folder permissions when running Symfony in Docker environment
  • ERROR: (gcloud.preview) Invalid choice: ‘docker’. Did you mean ‘dm-v2’?

    Why is that? where did teh “gcloud preview docker” command are then?

  • Is it possible change date in docker container?
  • Kafka Docker network_mode
  • How to specify ssl connection with Nginx stream?
  • Howto persist MongoDB - data of a running Docker container in a new image?
  • Dockerfile, persist data with VOLUME
  • docker-compose exit depends_on service after tests
  • One Solution collect form web for “ERROR: (gcloud.preview) Invalid choice: 'docker'. Did you mean 'dm-v2'?”

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

    gcloud preview docker moved to gcloud docker.

    The command was moved out of preview in the latest version of gcloud. You can run it with:

    gcloud docker push<my-project-xxx>/<my-image-yyy>
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.