title: How to add known_hosts for passwordless ssh within docker container in docker-compse.yml?
body: <p>I want to have passwordless ssh within two docker containers. How to add known_hosts entry for that using docker-compose.yml file</p>
  
  <p>I want to implement ansible on docker env. To deploy and run rpm on deployment node, I need passwordless ssh from container1 to container2. For that I have to add known_hosts key of container1 in container2 node.
  How to do this ???</p>