title: Can't ping host from docker container
body: <p>my <code>/etc/network/interfaces</code> file when I am logged as the container looks like this</p>
  
  <pre><code>auto eth0
  iface eth0 inet static
      address 192.168.1.27
      netmask 255.255.255.240
      gateway 192.168.1.1
  </code></pre>
  
  <p>but when I do <code>ping 192.168.1.1</code> I get</p>
  
  <pre><code>connect: Network is unreachable
  </code></pre>
  
  <p>I don't understand why I cannot do that.</p>
  
  <p>I get the same thing when pinging 8.8.8.8</p>