Skip to content

Allow mapping container port to custom IPs in the host #796

Description

@KShivendu

Example:

# Cluster 0: 127.0.0.*
docker run --name cluster-0-n0 -d -p 127.0.0.1:6333:6333 qdrant/qdrant:latest
docker run --name cluster-0-n1 -d -p 127.0.0.2:6333:6333 qdrant/qdrant:latest

# Cluster 1: 127.0.1.*
docker run --name cluster-1-n0 -d -p 127.0.1.1:6333:6333 qdrant/qdrant:latest
docker run --name cluster-1-n1 -d -p 127.0.1.2:6333:6333 qdrant/qdrant:latest

This should be allowed by testcontainers-rs crate as well. I'm happy to create a PR for this if you agree. Thanks! :)

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions