-p 宿主机端口:容器端口
例如:docker run —name nginxweb -d -p 8001:80 nginx访问:http://容器IP:8001
若有收获,就点个赞吧
0 人点赞
让时间为你证明