docker容器监听宿主机端口

docker run --name nginx-test -d --net="host" nginx

参考链接open in new window

Last Updated:
Contributors: haizhiguang