-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for --add-host host.docker.internal:host-gateway
#1527
Comments
--add-host host.docker.internal:host-gateway
Closed
15 tasks
azaaiman
added a commit
to azaaiman/docker-maven-plugin
that referenced
this issue
Jun 18, 2023
…xtraHosts entry Signed-off-by: Auke Zaaiman <a.zaaiman@developersdock.com>
rohanKanojia
pushed a commit
to azaaiman/docker-maven-plugin
that referenced
this issue
Jul 28, 2023
…xtraHosts entry Signed-off-by: Auke Zaaiman <a.zaaiman@developersdock.com>
rohanKanojia
pushed a commit
to azaaiman/docker-maven-plugin
that referenced
this issue
Jul 28, 2023
…xtraHosts entry Signed-off-by: Auke Zaaiman <a.zaaiman@developersdock.com>
rohanKanojia
pushed a commit
that referenced
this issue
Jul 28, 2023
… entry Signed-off-by: Auke Zaaiman <a.zaaiman@developersdock.com>
Thank you :-) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since Docker 20.10.0 it is now possible to specify
--add-host host.docker.internal:host-gateway
which will add an entry to the/etc/hosts
file of the container like:Which makes it easier for the Container to communicate with the Host.
I tried to use the
extraHosts
option of the docker-maven-plugin like this:Unfortunately that yields the following error:
Info
mvn -v
) :The text was updated successfully, but these errors were encountered: