Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in DevOps and Agile by (29.3k points)

I have stuck with an issue while running the 

sudo docker run -it -p 80:80 110298/mytestimage 

The command in my local ubuntu machine (not in the mobaXterm.) the page is not opening. please look at it.

what command should I use? to run the mytestimage which I have created in my local ubuntu environment

1 Answer

0 votes
by (12.4k points)

Here once you have your container ready push it to your docker hub and then while running the Docker run command specify your username and container name and you can run on port 80.

Use your Public IP with port 80 on the browser and whatever application you have in your container you can see it there.

Hope this helps you.

Interested in learning DevOps? Come & join: DevOps Certification

Browse Categories

...