Play with Docker

reference 1

Getting Started

The command you just ran

sudo docker run -dp 80:80 docker/getting-started

ou'll notice a few flags being used. Here's some more info on them

-d - run the container in detached mode (in the background)
-p 80:80 - map port 80 of the host to port 80 in the container
docker/getting-started - the image to use
posted @ 2020-03-11 13:34  人微言轻1  阅读(360)  评论(0编辑  收藏  举报