Skip to content

Conversation

@ndeloof
Copy link
Contributor

@ndeloof ndeloof commented Nov 16, 2025

What I did
Docker Engine used to accept port ranges as "start-end/protocol" but this was undocumented feature, and changes in v29 broke this usage (see moby/moby#51537)
This PR expands ranges the same way docker/cli does

Related issue
fix #13378

(not mandatory) A picture of a cute animal, if possible in relation to what you did

Signed-off-by: Nicolas De Loof <[email protected]>
@ndeloof ndeloof requested a review from a team as a code owner November 16, 2025 17:55
@ndeloof ndeloof requested a review from glours November 16, 2025 17:55
Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@glours glours merged commit 6f36539 into docker:main Nov 16, 2025
24 checks passed
@ndeloof ndeloof deleted the expose_range branch November 16, 2025 20:52
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.

[BUG] Expose Range Error response from daemon: invalid JSON: invalid port '<start>-<end>': invalid syntax

3 participants