title: Google Cloud can't find default credentials when trying to run docker image
body: <p>I am trying to run a Docker image through a Google Cloud proxy and despite my best efforts Google Cloud continues giving me this error:</p>
  
  <blockquote>
    <p>Can't create logging client: google: could not find default
    credentials. See
    <a href="https://developers.google.com/accounts/docs/application-default-credentials" rel="nofollow noreferrer">https://developers.google.com/accounts/docs/application-default-credentials</a>
    for more information.</p>
  </blockquote>
  
  <p>Whenever I try to run my Docker image using this command:</p>
  
  <pre><code>sudo docker run dc701c583cdb
  </code></pre>
  
  <p>I have tried updating my <code>GOOGLE_APPLICATION_CREDENTIALS</code> environment variable to the path of my key file.
  I have successfully logged in to Google Cloud using the <code>gcloud auth application-default login</code> command.
  I've defined and associated my project in Google Cloud. </p>
  
  <p>I am attempting this in order to run an open source project. I'm quite sure I created the Docker image correctly. I have a feeling the issue is coming from the fact that I am not correctly connecting the existing project to my Google Cloud.</p>
  
  <p>Any advice would be greatly appreciated. I am using Docker 18.06.1-ce and Google Cloud-SDK 219.0.1. Running on a virtual linux machine with Ubuntu 18.04.</p>