Handling ports in Shipyard Load Balancer with Docker

I’d like to have Shipyard running in my server and I’m trying to run it with shipyard/deploy container. It runs multiple containers and one of them is a load balancer that runs at port 80.

Problem is that I’m handling my containers with Nginx installed on the host, out of containers, at port 80 too. Of course both cannot be together so I need to customize Shipyard load balancer run to be mapped to a different port in my host. I don’t see an easy way to do this, how can be this situation handled? The way containers are linked is dependent of the mapping with host ports?

  • Running multiple applications in one docker container
  • Apache Kafka IO errors
  • What is the difference between an untaggedImage & deletedImage in the docker source?
  • Running an iPython notebook server on an EC2 Ubuntu instance via Docker
  • How do I add a package to an already existing image?
  • Run spark-shell inside Docker container against remote YARN cluster
  • I’m wondering too if the way I’m handling my containers is the proper one..For example, I’m planning to add a Redmine instance. By default the trusted build is running on port 80 but I guess I can just map to other port and configure nginx to point there when accessing redmine.domain.com. There is a better way to handle this?

    Thanks!!

  • Persistent Storage with Docker in Production - Which Solution and Why? [closed]
  • How to remove all tags for a docker repository locally?
  • Docker - Network calls fail during image build on corporate network
  • A way to test if processes running inside docker are on the same host
  • Where does web server come into play in OpenStack - CloudFoundry stack
  • Why is this refresh token request to auth.docker.io returning a 404?
  • One Solution collect form web for “Handling ports in Shipyard Load Balancer with Docker”

    Right; you need to change the port (or the IP address, if your machine has multiple IP addresses), either for your Nginx load balancer, or for Shipyard’s.

    You can customize Shipyard by altering the run.sh file and rebuilding its container.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.