Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Release 30.x: consider restoring the change to not-backfill missing PortBindings #51727

@robmry

Description

@robmry

#50874 introduced a change for API > 1.52 that stops the daemon from inserting an empty PortBinding (equivalent to "any host port, all host addresses) when an API request maps a container port to an empty list of host ports.

But, API 1.53 is shipping in v29.2.0 ... it's a breaking change we can reconsider in v30.

At-least the following tests will need fixing:

  • TestBridgeINCRouted
  • TestDirectRoutingOpenPorts
  • TestPortMappingRestore

The following test will need to be updated to test the change:

  • TestEmptyPortBindingsBC

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions