FEniCS on Mac through Docker quite slow

Hello everyone,
I installed FEniCS on my mac 10.14 (hexacore intel i5) by using Docker and everything worked fine. I am now running codes on FEniCS and I noticed that it is MUCH slower than the same code running on a Linux machine (quad core i5, comparable clock between Linux and mac) .
Is this happening because of Docker? Am I unable to exploit more core when using Docker? If yes, is there any other way of installing FEniCS on a mac without experiencing these increase of computational times?
Thanks in advance

There are a multitude of factors than can impact performance between machines.

Docker containers running FEniCS (and scientific benchmarks in general) have been shown to have an almost negligible performance cost vs their native counterparts. Furthermore it’s scalable. See here.

Yes, you can compile and run FEniCS natively on a mac.