Skip to content

Bind Docker port forwards to specific host interfaces #291

Description

@te-simonren

Describe the bug
if we want to publish pod's port to specify interface outside, error raised.

To Reproduce
Steps to reproduce the behavior:

  1. [Success]
docker run --name local-postgres -p 127.0.0.1:5432:5432 -e POSTGRES_PASSWORD=postgres -d postgres
  1. [Failed]
docker run --name local-postgres-133 -p 10.0.0.133:5432:5432 -e POSTGRES_PASSWORD=postgres -d postgres

Expected behavior
pod local-postgres-133 launch successful and bind it's 5432 to 10.0.0.133:5432

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions