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:

  • docker rabbitmq crashing during startup
  • How to access docker host filesystem from privileged container
  • Isolate PHP applications with Docker
  • How to mount docker volume into my docker project using compose?
  • Kubernetes Docker OS parameters vs Host OS parameters
  • REST request from one docker container to another fails
  • ERROR: (gcloud.preview) Invalid choice: ‘docker’. Did you mean ‘dm-v2’?

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

  • Is there any efficient way get the left physical memory in docker?
  • How do I set the configuration of the port 8000 on nginx with docker?
  • docker metrics reside in different location for different environment or versions
  • Run Eclim on the remote server
  • Docker: Manually Pushing to an Automated Build Repo
  • Docker Host Security - Can container run dangerous code or change host from inside of a container?
  • 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.