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

Possible to add support for host.docker.internal? #13

Closed
billyvg opened this issue Sep 22, 2021 · 2 comments
Closed

Possible to add support for host.docker.internal? #13

billyvg opened this issue Sep 22, 2021 · 2 comments
Milestone

Comments

@billyvg
Copy link

billyvg commented Sep 22, 2021

Docker Desktop provides this to allow containers to connect to a service on the host.

lima provides host.lima.internal. It would be great to have colima maintain this compatibility.

@abiosoft
Copy link
Owner

abiosoft commented Sep 22, 2021

The host is accessible from the container at the fixed address 192.168.5.2, you can use the ip directly.

We may look at adding something similar for convenience but it would not be hardcoded to host.docker.internal, rather something more generic as Colima will not be limited to docker containers anymore from v0.2.0.

@billyvg
Copy link
Author

billyvg commented Sep 22, 2021

Thanks, it'd be nice to have an entry for host.docker.internal for migration purposes, but makes sense to not have it long-term.

@billyvg billyvg closed this as completed Sep 22, 2021
@abiosoft abiosoft added this to the v0.3.4 milestone Feb 18, 2022
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

No branches or pull requests

2 participants