title: What does --net=host option in Docker command really do?
body: <p>I'm a little bit beginner to Docker. I couldn't find any clear description of what this option does in docker run command in deep and bit confused about it.</p>
  
  <p>Can we use it to access the applications running on docker containers without specifying a port? As an example if I run a webapp deployed via a docker image in port 8080 by using option <code>-p 8080:8080</code> in docker run command, I know I will have to access it on 8080 port on Docker containers ip /theWebAppName. But I cannot really think of a way how <code>--net=host</code> option works.</p>