Docker running Time

I’m trying to run the same Tensorflow application from my Docker image built on top of tensorflow:19.01-py3 image but the running time is slower than when I run it without the docker on my computer with same installation on my computer.
Is there any settings that I need to be aware of in the TF session or in the docker parameters to improve the performance?