Skip to content

Fixed value for missing host port for newer docker desktop versions - #2869

Open
bentheiii wants to merge 3 commits into
docker:mainfrom
bentheiii:master
Open

bentheiii wants to merge 3 commits into
docker:mainfrom
bentheiii:master

Conversation

@bentheiii

Copy link
Copy Markdown

fixes #2792
In newer Docker Clients on Windows, sending a blank host port will result in an unassigned port. This fix will change None ports to 0 to fix that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

dockerClient.containers.create(..., ports={...: None}) does not work in docker client 3.2.0 and upwards

1 participant