chipmk / docker-mac-net-connect

Connect directly to Docker-for-Mac containers via IP address 🐳 💻
MIT License
402 stars 41 forks source link

Is it possible to adopt this solution for Windows? #9

Closed wrednamalpa closed 1 year ago

wrednamalpa commented 2 years ago

The situation with docker on Windows with WSL is very similar. Is it possible to adopt this solution for Windows platform?

gregnr commented 2 years ago

Hey @wrednamalpa, great question. Let me do some investigation on a Windows machine and get back to you.

gregnr commented 1 year ago

Hey @wrednamalpa sorry for the delay. The Docker website mentions the ability to connect to containers on Windows by IP: https://docs.docker.com/desktop/networking/

Any chance you've tried this? I can't tell if they're talking about any container on Windows (ie. Linux or Windows), or specifically Windows only (kernel) containers.

gregnr commented 1 year ago

Closing for now based on the above docs, but please reopen if this is not true on Windows.