DEV Community

Cover image for Docker Desktop on Windows expose daemon to LAN
Abhishek
Abhishek

Posted on

3

Docker Desktop on Windows expose daemon to LAN

Steps :

  • Enable "Expose daemon on tcp://localhost:2375 without TLS" in settings.
  • From admin Command Prompt
netsh interface portproxy add v4tov4 listenport=2375 listenaddress=192.168.0.2 connectaddress=127.0.0.1 connectport=2375
Enter fullscreen mode Exit fullscreen mode

NOTE : replace listenaddress to your LAN ip

  • On Remote machine Set DOCKER_HOST to tcp://192.168.0.2:2375

Top comments (0)

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay