Linode : docker web app access

Hey Im new to linode and cloud hosting all together. I am attempting to use docker to host a couple web app (nginx, invoiceninja, grocy, etc.) One big problem I am not sure how to access my nginx docker container from my web browser. If any can lend some time to help out a noob it would be a big help.

1 Reply

Great question! When you run the command docker ps, you'll see a list of all running Docker containers on your Linode. Each container is running on a specific port; to determine which port you'll need to use to access a specific container, you'll need the command docker port [container name or ID]. From there, you'd just use your Linode's IP followed by :####, where #### is the port of the container. This cheat sheet for Docker commands might be helpful as you're getting started; it includes the commands referenced here along with some other common ones.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct