#下载一个nginx_80的容器镜像
docker pull 18370952508/nginx_80:latest
#示例一:运行一个名称叫做nginx_80的容器,对外映射端口80
docker run --name nginx_80 -d -p 80:80 18370952508/nginx_80
#访问浏览器打开 http://localhost/
#示例二:运行一个名称叫做nginx_85的容器,对外映射端口85
docker run --name nginx_85 -d -p 85:80 18370952508/nginx_80
#访问浏览器 http://localhost:85/
Content type
Image
Digest
Size
76.4 MB
Last updated
almost 5 years ago
docker pull 18370952508/nginx_80