Comment on Basic docker networking?
iturnedintoanewt@lemm.ee 7 months agoThanks! When I type my LXC’s IP:2283, I get unable to connect. I checked the docker-compose.yml and the port seems to be 2283:3001, but no luck at either. Is there anything that needs to be done on docker’s network in order to…“publish” a container to the local network so it can be seen? Or any docker running with a port can be reached via the host’s IP with no further config? Checking the portainer’s networks section, I can see an ‘immich-default’ network using bridge on 172.18.0.0/16, while the system’s bridge seems to be running at 172.17.0.0/16. Is this the correct defaults? Should I change anything?
Thanks!
WhyAUsername_1@lemmy.world 7 months ago
Can you reach other services on that vm? If you don’t know that then test this first. ( May be run a python http service to test this?)