DEV Community

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

Posted on

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)