E

Accessing Host Ports from Docker Container

Summary

The user seeks advice on accessing host machine ports from a Docker container, noting that the IP address 172.17.0.1 is effective, and suggests that host.docker.internal should also work.

Status
resolved
Tags
    Source
    #earthly
      k

      krisztian.feher

      10/24/2024

      yes, tho so that requires extra steps on linux, as it isn't usually mapped

      s

      shepherdjerred

      10/24/2024

      host.docker.internal should work, too

      k

      krisztian.feher

      10/23/2024

      for anyone looking, this just referring via 172.17.0.1 works fine.

      k

      krisztian.feher

      10/23/2024

      hey folks, anyone knows how to access ports on the host machine when I'm running earthly stuff in a docker container?