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?

  • Pycharm not showing all files from django external library
  • docker install nsenter , command not found
  • How to open swagger-ui using docker
  • Winston logger - Is it possible to log the shut down of an application
  • Create Docker image for NodeJS + PostgreSQL web application
  • Why when I switch to a different user environment variable is lost?
  • 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!!

  • default 'docker run' options?
  • concourse fails to put to private docker registry, retrying until 500 error appears
  • How to restore a redis backup in a redis container?
  • Issuing a Docker command while in another container
  • MongoError: connect ECONNREFUSED in Docker
  • Unable to mount persistent volume to Docker container using Rex-Ray and VirtualBox Media storage - “Invalid managed object reference” error
  • 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.