ufw 设置容器允许访问宿主机端口

2020-07-07  本文已影响0人  xun2019

首先要确定容器的ip,然后在宿主机执行:

ufw allow from 172.17.0.x to any
上一篇 下一篇

猜你喜欢

热点阅读