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 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:

  • Concurrent database creation
  • How to ship python application through docker
  • Why is docker-machine displaying an empty list?
  • Docker container exits immediately despite Service Running
  • Would Docker swarm assist me with managing containers with specific environment variables?
  • Can not ping docker container from another host which is in the same LAN
  • ERROR: (gcloud.preview) Invalid choice: ‘docker’. Did you mean ‘dm-v2’?

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

  • AWS Beanstalk docker image automatic update doesn't work
  • Docker create images “Ubuntu 14.04” with Docker file
  • curl: (7) Failed to connect to localhost port 8090: Connection refused
  • How to change docker container's source code without restarting it?
  • Connect to mongodb on centos7 docker image
  • Docker yum install issue - Cannot retrieve metalink for repository: epel/x86_64
  • 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 gcr.io/<my-project-xxx>/<my-image-yyy>
    
    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.