title: Host network interface and docker internal network
body: <p>How would I express having a container connected to the host machine and to a internal network? What I want to do is connect a network interface from the host inside a container and have information flow into an internal docker-compose network and vice versa back to the host</p>
  
  <p><code>
  external  |                   internal network                   | external
  Host eth0 -&gt; [eth0 Container] -&gt; [Container] -&gt; [Container eth0] -&gt; Host eth0
  </code></p>