How does the network work? Can access from local computer but not from laptop in same LAN?

Hi guys!

I am kinda noob on this networking part and reading documentation I couldn’t fiddle this out.

I’ve managed to get ubuntu image to use and downloaded nginx and its accessible by the computer that started this.

But how come when I try to navigate to this site by laptop it doesnt load eventhough it uses same wifi?


The default network configuration makes the containers private to the host that has them. You cannot access them from the LAN unless you expose, for example, the web port (80) of the container to the host. See how to do this,

Alternatively, if your host is connected over LAN (ethernet cable), you can make the container appear as a new computer on the LAN (instead of hidden inside the host). See more at