Skip to content

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

@KShivendu

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! :)

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