I’m pretty new to rancher, sorry if I’m missing something important.
I tried to directly launch a stack for the catalog, e.g wordpress. Everything was running but couldn’t access wordpress on the browser. (Yes, net.ipv4.conf.all.forwarding is up)
Yeah port are free and in both case the containers are up and running.
Basically the thing is that if i’m running this through rancher and the stack option (Add stack, import docker-compose), it runs but can’t access it. And I checked on the stack, the containers are correctly linked…
If I directly use docker-compose to run this, it works and I can access wordpress site on 8000.
I’m on my phone but doesn’t WordPress expect a separate variable for the port? I think you’re trying to resolve “db:3306” in DNS, which obviously fails… And vanilla docker-compose probably sets the link environment variables last, which overrides that one with just an IP, so it happens to work.
I don’t think so, not for the DB. I basically get the same error if I just create a wordpress stack from rancher catalog… It’s for sure a DNS issue but normally Cattle should directly write the proper dns records right ?