title: How to add containers to same network in Docker
body: <p>I'm running containers with the <code>docker run</code> command and would like to add them to the same network such that each container is able to connect to each other using the container name.</p>
  <p>I tried the following command: <code>docker run --network=bridge</code> (default docker network), but the containers couldn't connect to each other with their names.</p>
  <p>How can I make it work?</p>