We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2d67b1 commit f06bc1cCopy full SHA for f06bc1c
devcluster/__main__.py
@@ -55,7 +55,7 @@ def get_host_addr_for_docker() -> Optional[str]:
55
if "darwin" in sys.platform:
56
# On macOS, docker runs in a VM and host.docker.internal points to the IP
57
# address of this VM.
58
- return "host.docker.internal"
+ return os.getenv("DOCKER_LOCALHOST", "host.docker.internal")
59
60
# On non-macOS, host.docker.internal does not exist. Instead, grab the source IP
61
# address we would use if we had to talk to the internet. The sed command
0 commit comments