title: Encryption and Mutual authentication for Docker Containers?
body: <p>I have two questions related to Docker container communication and security. </p>
  
  <p>I have seen that <em>container-to-container</em> communication can be secured via <strong>encryption</strong> by enabling a secure flag.</p>
  
  <ol>
  <li>Is this feature available for any stand-alone containers spawned via <strong>docker run</strong> on the default <em>(or custom made)</em> bridge interface?</li>
  <li>Or is it only available in the <strong>swarm-mode</strong> amongst containers that are in the same overlay network?</li>
  </ol>
  
  <p>And then, is there a similar feature to that of SSL mutual authentication amongst containers? As in to say, only containers with a certificate signed by a specific <em>CA</em> can talk to each other? </p>
  
  <p>Or any other mechanism to restrict <strong>what containers can talk to which containers</strong> even when they are part of the same overlay network? </p>
  
  <p>Thanks<br>
  Shabir</p>