title: DockerDaemonConnectionError when setting Google Cloud Managed VM in Ubuntu
body: <p>I'm trying to install Google Cloud Managed VM in Ubuntu according to this manuals: <a href="https://cloud.google.com/appengine/docs/python/managed-vms/" rel="nofollow">[1]</a>, <a href="https://cloud.google.com/appengine/docs/python/managed-vms/sdk" rel="nofollow">[2]</a></p>
  
  <p>I've installed Docker following the <a href="https://docs.docker.com/installation/ubuntulinux/" rel="nofollow">Docker installation guide</a>.</p>
  
  <p>Running Docker with: <code>sudo docker -H tcp://127.0.0.1:2376 -d</code></p>
  
  <p>I've created certificate keys according to the <a href="http://docs.docker.com/articles/https/" rel="nofollow">HTTPS Docker guide</a>. </p>
  
  <p>My environments variables:</p>
  
  <ul>
  <li>DOCKER_HOST=tcp://:2376</li>
  <li>DOCKER_TLS_VERIFY=1</li>
  <li>DOCKER_CERT_PATH=/home/eyalev/ca</li>
  </ul>
  
  <p>When I run <code>gcloud preview app setup-managed-vms</code></p>
  
  <p>I get an error:</p>
  
  <p><a href="https://gist.github.com/eyalev/aab86463bc63f4319d5c" rel="nofollow">https://gist.github.com/eyalev/aab86463bc63f4319d5c</a></p>
  
  <pre><code>Traceback (most recent call last):
  File "/home/eyalev/Software/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py",
   line 153, in &lt;module&gt; main()   File "/home/eyalev/Software/google-cloud-sdk/./lib/googlecloudsdk/gcloud/gcloud.py",
   line 149, in main _cli.Execute()   File "/home/eyalev/Software/google-cloud-sdk/./lib/googlecloudsdk/calliope/cli.py",
   line 381, in Execute post_run_hooks=self.__post_run_hooks, kwargs=kwargs)   File "/home/eyalev/Software/google-cloud-sdk/./lib/googlecloudsdk/calliope/frontend.py",
   line 274, in _Execute pre_run_hooks=pre_run_hooks, post_run_hooks=post_run_hooks)   File "/home/eyalev/Software/google-cloud-sdk/./lib/googlecloudsdk/calliope/backend.py",
   line 887, in Run result = command_instance.Run(args)   File "/home/eyalev/Software/google-cloud-sdk/lib/googlecloudsdk/appengine/app_commands/setup_managed_vms.py",
   line 37, in Run setup_registry.SetupRegistry()   File "/home/eyalev/Software/google-cloud-sdk/./lib/googlecloudsdk/appengine/lib/images/setup_registry.py",
   line 32, in SetupRegistry timeout=config.DOCKER_D_REQUEST_TIMEOUT)   File "/home/eyalev/Software/google-cloud-sdk/platform/google_appengine/google/appengine/tools/docker/containers.py",
   line 663, in NewDockerClient 'Couldn\'t connect to the docker daemon using the specified ' google.appengine.tools.docker.containers.DockerDaemonConnectionError:
  
  Couldn't connect to the docker daemon using the specified environment
  variables. Please check the environment variables DOCKER_HOST,
  DOCKER_CERT_PATH and DOCKER_TLS_VERIFY are set correctly. If you are
  using boot2docker, make sure you have run "$(boot2docker shellinit)"
  </code></pre>
  
  <p>Is there something I'm missing?</p>