title: Can Testcontainers create docker network for me if it does not exist?
body: <p>Looks like I need a network because I would like to reference one container by hostname from another.</p>
  
  <p>I could also use the <code>--link</code> but it is deprecated and can disappear soon. That's why I wonder if Testcontainers can create a docker network for me.</p>
  
  <p>With command line I would just execute <code>docker network create bridge2</code> and then I can start containers like this:</p>
  
  <pre><code>docker run -it --rm --net=bridge2 --name alpine1 alpine
  docker run -it --rm --net=bridge2 --name alpine2 alpine
  </code></pre>
  
  <p>and resolve <code>nslookup alpine2</code> from <code>alpine1</code> container.</p>
  
  <p>If I try to use default <code>--net=bridge</code> network or skip <code>--net</code> option (which is actually the same) referencing by name will not work.</p>