-
Notifications
You must be signed in to change notification settings - Fork 5.2k
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docker-compose fails to parse ports from the compose file #4967
Comments
For me it seems to be due to a version update of one of the dependencies.
After that, the error was gone. |
The problem was the docker-py version. You can have just |
I inspected the issue and it seems like compose is passing at some point strings like this to be parsed as ports: 2.3.0 simply didn't raise an error and the incorrectly parsed string probably gets ignored eventually. I'm still looking where compose is passing |
Problem is definitely here: Lines 966 to 991 in 4dd54b8
More specifically on line: where an instance of I will leave this to someone who actually knows what |
same error here :( |
I have tried installing the requirements.txt and it didnt worked. |
Problem solved with a downgrade of |
This did the trick for me. Prefix it with |
Somehow I missed this issue - sorry! |
I hame having some weird issue now.
I have a fresh install docker with docker compose
docker version: 17.03.2-ce
docker-compose: 1.14.0, build c7bdf9e
running on ubuntu 16.04
I am trying to run the following compose file:
And I am getting port parse exception when running the command:
The exception is:
I have tried downgrading to 1.13.0 and issue still persists.
after downgrading to 1.7.0 it works as expected
The text was updated successfully, but these errors were encountered: