搜索镜像 docker search nginx 拉取镜像 docker pull nginx 运行测试 docker run -d —name nginx01 -p 3344:80 nginx #注释 -d #后台运行—name #别名-p #宿主机端口号:容器端口号 crul localhost:3344 端口暴露概念 进入Nginx容器