In this tutorial im going to learn how to run docker image in localhost.
Run below code
docker run -p 8080:80 httpd
Open below url
http://localhost:8080/
Now working successfully.
For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!
In this tutorial im going to learn how to run docker image in localhost.
Run below code
docker run -p 8080:80 httpd
Open below url
http://localhost:8080/
Now working successfully.