DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’»

DEV Community πŸ‘©β€πŸ’»πŸ‘¨β€πŸ’» is a community of 970,177 amazing developers

We're a place where coders share, stay up-to-date and grow their careers.

Create account Log in
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)

🌚 Friends don't let friends browse without dark mode.

Sorry, it's true.