Skip to content

Enable host.docker.internal to be working in Linux#5

Open
wey-gu wants to merge 1 commit intopnadolny13:mainfrom
wey-gu:patch-1
Open

Enable host.docker.internal to be working in Linux#5
wey-gu wants to merge 1 commit intopnadolny13:mainfrom
wey-gu:patch-1

Conversation

@wey-gu
Copy link
Contributor

@wey-gu wey-gu commented May 30, 2022

This works fine in macOS Docker Desktop, but not in Linux Docker Engine
by default, due to not being resolvable, this is the mitigation to make it
work in both cases, while the limitation is it has to be in docker-engine
version v20.10 or newer.

ref https://stackoverflow.com/questions/48546124/what-is-linux-equivalent-of-host-docker-internal/67158212#67158212

This works fine in macOS Docker Desktop, but not in Linux Docker Engine
by default, this is not resolvable, to make it work in both cases,
this is the mitigation, while the limitation is it has to be in docker-engine
version v20.10 or newer.

ref https://stackoverflow.com/questions/48546124/what-is-linux-equivalent-of-host-docker-internal/67158212#67158212
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant