When you begin to learn Docker on your laptop you have to choose one of them: Docker Desktop or Docker in Linux Virtual Machine. Because Docker is using LXC (Linux Containers) for container isolation. So, you should have a Linux kernel to use Docker. This is not a problem for Linux users. They already have a Linux machine. But PC or Mac users do not have a Linux kernel inside their OS.

If you ask me I prefer Linux VM (of course I assume you're all know how to use Linux). Because I told you Docker needs Linux to work. Logically Docker Desktop has a Linux kernel inside its own. If both choices have the same needs so, why we won't install a Linux VM with personal options. Such as which distro to use docker, like Ubuntu, Fedora, CentOS, etc.

Docker Desktop has some functionality. For example, one-click Kubernetes installation. But, I suggest you for learning you must do this installation by yourself. If there an easy way, there not have learning practice. If there a hard way, you'll learn many things about that.

Let's talk about the virtual machines to work on Linux. I'm using Hyper-V for this. But, if you don't have a Windows 10 Pro/Enterprise/Education you can use VirtualBox or VMware etc. But, I wanna give a suggestion again about it. Heard you Multipass? Multipass is a very useful tool for creating Ubuntu instances on any machine. Don't matter PC, Mac, or Linux (of course if you have a Linux you don't need anything to use docker). Basically you create one or multiple Ubuntu instances and you can connect into instances with bash shell. And then, what you want to use in a Linux, you can just install normally (in this case Docker).