Skip to content

Not able to bind multiple IPs to the same port? #495

@TTimo

Description

@TTimo

I am able to bind several IPs to the same port from the docker run command line, but it doesn't seem possible to do with the docker-py API?

For example this is possible from the command line:

docker run -p 50.23.229.126:25:25 -p 192.168.10.20:25:25 mail

Reading https://docker-py.readthedocs.org/en/latest/port-bindings/ and trying a few things it does not seem possible with docker-py?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions