593 B

title, createTime, tags
title createTime tags
windows下docker开放远程2375端口 2025/03/17 15:25:38
Docker
Windows

参考:IBM Docker

  1. 在 DockerDesktop 的 settings 中勾选Expose daemon on tcp://localhost:2375 without TLS

  2. 在 docker engine 里添加"hosts": ["tcp://0.0.0.0:2375"]

  3. Apply & Restart

  4. 进 powershell 打开转发

netsh interface portproxy add v4tov4 listenport=2375 listenaddress=<your_IP> connectaddress=127.0.0.1 connectport=2375