That’s what I don’t understand… external domains resolve without any problem. Investigating further, I think it has something to do with loopback NAT, but still couldn’t solve, some very confusing posts about loopback/hairpin NAT on Google.
Something very strange… I have another docker container running on the same machine (Odoo, also python based). And curl to my own domain from within that container works without any problem !!! So maybe some docker startup parameter that’s missing or wrong, I will try to find it out further in the course of this week.
Update: the tutor docker containers have in /etc/resolv.conf :
Got it working. Complete disaster my network config, also a mixup of legacy Ubuntu docker.io and docker-ce libs
Purged completely my docker installation (including /var/lib/docker), and starting over…