618 B
618 B
title, createTime, tags, categories
| title | createTime | tags | categories | |||
|---|---|---|---|---|---|---|
| windows下docker开放远程2375端口 | 2025/03/17 15:25:38 |
|
|
参考:IBM Docker
-
在 DockerDesktop 的 settings 中勾选
Expose daemon on tcp://localhost:2375 without TLS -
在 docker engine 里添加
"hosts": ["tcp://0.0.0.0:2375"] -
Apply & Restart -
进 powershell 打开转发
netsh interface portproxy add v4tov4 listenport=2375 listenaddress=<your_IP> connectaddress=127.0.0.1 connectport=2375