I already set-up nginx docker container to my Ubuntu 20.04 VM, but when I type the ip address of my VM in my system’s browser plus port 8080 something like 192.168.0.51:8080. It doesn’t work. It should take me to the nginx landing page, and I believe I followed the steps in the guide.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hey @juancarlosfloreshernandez,
Can you share the article you followed? Additionally, what happens when you run
docker run
on your Droplet’s shell.Additionally to check if your container is running you can do
docker ps
. Additionally here is a cheat sheet here - https://www.digitalocean.com/community/tutorial_collections/how-to-install-and-use-dockerLet me know how it goes.
Hi there,
Can you share the
docker run
command that you’ve used here? And also what is the exact error that you get when you try to visit the page?A few things that you could check are:
docker ps
command and if it is not running check the logs withdocker logs CONTAINER_ID
Best,
Bobby
Want to learn more? Join the DigitalOcean Community!
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Sign up now