Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

“Clients in that container won’t trust the cert”. Yeah, there’s the trick.

“service-a.lcl.host:443300“ so when inside the container, won’t that resolve to 127.0.0.1 which is the container internal loopback interface not the docker host’s interface? Hence trying to connect to itself not its sibling.



right it's the loopback, but I believe docker-compose can forward loopback ports to the host (and then back into the other container) using links, but i'm fuzzy on the details and may be misremembering.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: