Hey there @andyql !
Thank you for bringing the context, I will try to help!
Does your docker tests involve user interaction or allow access to browser stored cookies (silent authentication is a cookies based flow)? For reference, you can check this topic.
Does your docker environment maybe lacks some of the required for the auth0 flow libraries installed?
All auth0-related config files included?
We do not provide a dockerized version of Auth0, but hopefully this link can help with the docker context - Use Docker to Create a Node Development Environment