title: scp from Docker container using internal IP address
body: <p>I have a Google Cloud instance with internal and external IP addresses:</p>
  
  <pre><code>hostname -I
  
  10.......5 172......1
  </code></pre>
  
  <p>The first is the internal and the second is the external IP.</p>
  
  <p>When I create a docker container and run the same command I get:</p>
  
  <pre><code>hostname -I
  
  172......2
  </code></pre>
  
  <p>I want to scp data between two Google Cloud machines, and I want to make sure I'm not incurring any egress. How can I make sure the docker container uses the internal IP address in Google Cloud?</p>
  
  <p>Thanks!</p>