title: How to do use Google Container Registry with the docker CLI
body: <p><a href="https://cloud.google.com/tools/container-registry/" rel="nofollow">Google Container Registry documentation</a> explains that in order to pull and push images to gcr.io, you have to prefix docker <code>push</code> and <code>pull</code> commands with <code>gcloud preview</code>.</p>
  
  <pre><code>gcloud preview docker push gcr.io/&lt;gcr_namespace&gt;/&lt;docker-image&gt;
  gcloud preview docker pull gcr.io/&lt;gcr_namespace&gt;/&lt;docker-image&gt;
  </code></pre>
  
  <p>Is there a way to use Google Container Registry with the <code>docker</code> CLI directly, without <code>gcloud preview</code> prefix?</p>