Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • I don't think this can be accomplished with Docker Desktop. But maybe that’s not what you’re using? Please provide more details.
    – Daniel B
    Commented Dec 13, 2021 at 13:22
  • @DanielB Sadly yes. Is there any alternative I can try on?
    – dkregen
    Commented Dec 13, 2021 at 13:27
  • What is your end goal? Do you need to reach a certain service at a certain port? In that case you need to publish that port. Alternatively you can set the network mode to host, which let's the docker container use the network of the host directly. Please edit your question to include some info on your final goal. Commented Dec 13, 2021 at 13:43