title: Authorize docker container as gcp authenticated user
body: <p>I have a docker container which requires a user to authenticated using <code>gcloud</code>.</p>
  
  <p>Me (as a host) is authenticated using <code>gcloud</code> but that is not carried over to the docker container. How can I make sure my docker container uses the authentication of the host? E.g. if I were to run the container on a VM engine then I wanted it to authenticate as the service account running the VM engine.</p>
  
  <h3>EDIT</h3>
  
  <p>The container is running a python application and I'd like to be able to work on that application locally and interactively. I.e. being able to see changes immediately and it should be possible using PyCharm Pro IDE.</p>