App load balancing and some other questions

I am new to Docker and have some question about Docker containers:

  1. Is it possible to set up Docker to support application load balancing, such as load balancing a web server application (each instance in each container, and there will be several of them) across different servers?

  2. What about Websphere clustering solution? Can I have different nodes on different container and load balance them?

  3. Regarding app software running in the Docker container, can any app (i.e. middleware software, Java app, .net app, etc.) run in the container? All I need to do is to build the container for the app to run?


Yes its all doable, you can expost the ports you need and then orchestrate it all with an haproxy container or something.