docker容器的端口无法访问

将docker的虚拟网段链接到主网卡

sudo ip rule add to 172.21.0.0/24 lookup main

猜你喜欢

转载自blog.csdn.net/qq_26356861/article/details/132345537