title: How to restrict Docker container access to other containers and to the internet (expose port only for host)?
body: <p>How to create the Docker network so that the container expose ports only for the host and have no access to the internet and to the other containers? </p>
  
  <p>I found the solution for <a href="https://stackoverflow.com/questions/39913757/restrict-internet-access-docker-container">restricting access to internet</a>, but it allows containers to interact with each other.</p>