docker run -it --add-host=host.docker.internal:host-gateway xxx
容器访问host.docker.internal:3306等同于访问了宿主机的3306端口