I've never played with Docker myself, but this looks interesting:

"mkonion is a very simple tool to allow you to set up a Tor Onion Service (also known as a Tor Hidden Service) for an existing Docker container."

https://github.com/cyphar/mkonion and https://news.ycombinator.com/item?id=11063900

    -a