docker container run --net=host docker container 使用本地主机网络,即不要容器化容器内的网络。 实现容器内的端口直接访问。 网络 - Docker — 从入门到实践