What command do you use to launch an nginx container on port 80 of the host file system?

Last Updated on July 31, 2021 by Admin

What command do you use to launch an nginx container on port 80 of the host file system?

  • docker image build -p 80 nginx
  • docker start -it -d nginx -p 80|80
  • docker container run -p 80:80 -d nginx
  • docker container run -p 8080 -d
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments