Post-install, Curl can send email, but Discourse cannot. Help to fix?

Strange. If you can connect from outside the container then you can see if that curl command will work inside the container. My only guess is that you have some networking problem with docker.