Skip to content

Missing <IP>:<host_port>:<container_port> explaination docker-compose #22253

Description

@JoachimBose

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

I can't find what I'm looking for

Description

The website provides very helpful information about the <host_port>:<container_port> syntax for exposing ports in Docker Compose. However, it does not seem to explain anything about the extended :<host_port>:<container_port> syntax.

Location

https://docs.docker.com/get-started/docker-concepts/running-containers/publishing-ports/

Suggestion

dd a section in the documentation that explicitly covers this syntax and includes examples of how and when it can be used. Unfortunately I am nowhere near an expert in this (hence why I tried to look it up).

Thank you! Cheers

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions