Docker is just a convenience that wraps Linux native virtualization (domain separation) in it. The performance is native when on Linux. I use docker for convenience of maintaining a compatible environment for the software I need. 🐶🐾🫡