Application connect to container directly

May be this is a common question in docker technology stack.

Say suppose we have

  • Mac OS X Docker baseline aspnet error: libdl not found
  • How to link two docker services in coreos with flannel?
  • How to install a non-distro package inside Docker without wasting space?
  • HDFS data node connection error in a docker container
  • Error: docker-engine-selinux conflicts with 2:container-selinux?
  • Settings up remote interpretor in pycharm for docker
  • 1. A client application "A" running on a host IPAddressA, 
    2. A docker container host with IPAddressB
      2.1 An server "S" running as a container on above container host with IPAddressC.
    

    What should be done to make sure that client Application ‘A’ can talk to server ‘S’ running on container with IPAddressC ?

    Note : I did try using -p option (port forwarding) when spinning a new docker container. But then https on client application will fail due to which SSL certificate obtained is from docker container host rather container itself.

  • Why docker exec is killing nohup process on exit?
  • docker doesn't get the latest images with tag latest
  • Linking exposed port of docker with with the default nginx port
  • Docker compose - build order, database before the app
  • Docker image format
  • NGINX & Consul-Template in Docker
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.