You are not logged in.

#1 2016-05-31 15:24:26

rdw
Member
Registered: 2012-07-02
Posts: 16

docker-compose not connecting to ports

I have encountered a situation where running 'docker-compose up' runs into problems ('Connection refused') connecting to ports, whereas carrying out exactly the same chain of commands with docker build and docker run directly has no issues. I cannot post the file as it part of a non-public codebase. Others are able to run 'docker-compose up' on the same file on Ubuntu and a Mac without problems.

I am running docker and docker-compose more or less straight out of the box. I have tried a number of things (iptables, etc) to persuade docker-compose to see the ports, but have not succeeded. It seems that docker-compose is somehow handling ports in a different way from docker itself.

Has anybody else experienced this issue?

Offline

#2 2016-05-31 15:45:51

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: docker-compose not connecting to ports

If you can create a test case that reproduces the problem I'd be willing to test it out on my machine.

Scott

Offline

#3 2016-06-04 19:59:34

rdw
Member
Registered: 2012-07-02
Posts: 16

Re: docker-compose not connecting to ports

Thanks very much for the offer! In the end things were cleared up: it turned out that docker-compose was actually behaving in the expected way; the messages about not connecting to ports were expected.

Last edited by rdw (2016-06-04 19:59:47)

Offline

Board footer

Powered by FluxBB