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?

  • numpy.distutils missing from numpy installation, theano tries to use it
  • Docker compose port mapping
  • Windows Container with Docker: Cannot reach httpd in container from host (Win2016 TP5)
  • How to run webdriver tests on docker firefox-standalone-debug container instead of regular firefox browser
  • How to mount a docker volume while using a windows host?
  • docker image delete from private registry
  • 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!!

  • How to run Linux Docker images on Windows Server 2016?
  • Cannot get postgresql-9.3-postgis-2.1 on Ubuntu 14.04.1 Docker container
  • “docker-compose” does not appear to allow or build from local images
  • how do I manage specific versions of builds with Dockerfile
  • Docker: --ipc=host and security
  • What starts this docker process on my laptop?
  • 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.