Skip to content
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

How to not let the docker-desktop stop changing the IP-address of host.docker.internal #12987

Closed
jdang67 opened this issue Sep 27, 2022 · 3 comments

Comments

@jdang67
Copy link

jdang67 commented Sep 27, 2022

Hi All,

Currently, our group depends on docker-desktop 2.1 because they depend heavily on 10.0.75.1 to debug the software locally.
When I try to upgrade my docker-desktop to the latest version 4.12,
I start to replace 10.0.75.1 with the host.docker.internal.
For the most part, it works well. For some entries, I cannot use host.docker.internal, I have to use the IP address directly such as 192.168.68.4 then a few days later it changes to 192.168.68.64. Is there any way to keep this IP static?

Regards,

Jdang

@gabrieloshiro
Copy link

gabrieloshiro commented Oct 12, 2022

Breaking the behavior of host.docker.internal happened at least 2 times since 4.5.1.

@docker-robott
Copy link
Collaborator

There hasn't been any activity on this issue for a long time.
If the problem is still relevant, mark the issue as fresh with a /remove-lifecycle stale comment.
If not, this issue will be closed in 30 days.

Prevent issues from auto-closing with a /lifecycle frozen comment.

/lifecycle stale

@docker-robott
Copy link
Collaborator

Closed issues are locked after 30 days of inactivity.
This helps our team focus on active issues.

If you have found a problem that seems similar to this, please open a new issue.

/lifecycle locked

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants