-
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 up fails with 'expected string or buffer' when specifying ports #4972
Comments
NB: long
|
NB: Verbose output (for "8000:8000"):
|
NB:
|
NB: Same error for docker-compose 1.13.0. 1.12.0 seems to work.
|
Same issue here via python3
Worked yesterday morning, started failing this morning, here is a consul snippet with the port defined (This produces the error above).
If we remove the ports section consul starts. Python 3 Modules
Work around:
Works^^ |
Changing all of the ports in my |
Can confirm the downgrade of |
My Two cents, I am having similar issues where it fails with It seems like it passes the function |
It seems the culprit on my system was python-docker 2.4, I downgraded to 2.3.0 and Docker / Docker-compose both work with the latest versions! So if you have this issue try downgrading to python-docker 2.3 first |
Downgrading the docker python library worked for me as well:
|
Thanks for the reports everyone, I'm currently working on a 2.4.2 release of the Python SDK that should fix this particular issue. It should be available in the next few hours. |
For anyone affected, please |
Hello
|
@lforg37 What's the output of |
Created a virtualenv, and installed |
The output of pip freeze is
|
I've tried to install a new virtualenv and now it is working. Sorry for the false alert. |
@lforg37 I get this error using official arch linux package |
I get the same issue |
+1 on clear debian with use pip |
Issue still exists for version 1.14 and 1.13 |
Issue exists in Arch Linux for v1.14, but |
Distros will need to update their system packages, there's not much I can do about that. As always, our advice is to install using |
@shin- you are right, was distro related. everything work now after "python-docker" package upgrade |
Not seeing the problem after a new upgrade on arch, have been working for a couple of days now. Just a follow up. |
Using hypriot
Downgrading
Worked for me |
in my case I changed ports to integers 🍩 and this fixed my issue
|
The text was updated successfully, but these errors were encountered: