docker运行httpd

docker run -d -p 80:80 httpd  # 80:80 是把容器的80端口映射到服务器的80端口上

 

posted @ 2021-07-14 17:09  test_yu  阅读(276)  评论(0编辑  收藏  举报