I struggled for hours with all sorts of solutions until I discovered this:
https://hub.docker.com/r/bradjonesllc/docker-nginx-letsencrypt/
Then I was up and going in 15 minutes. Just wanted to share this since it’s not at the top of the search results (yet!)