The best place to learn how to install Docker on your laptop is the Docker documentation website. What we're looking for is the Docker Community Edition (CE). There is the Docker Enterprise Edition (EE), with more features and some opportunities to pay support fees:
- macOS installation – https://docs.docker.com/docker-for-mac/install/
- Windows installation – https://docs.docker.com/docker-for-windows/install/
- Ubuntu installation – https://docs.docker.com/install/linux/docker-ce/ubuntu/
- Instructions are available for several other distros. Some useful post-install Linux instructions are at https://docs.docker.com/install/linux/linux-postinstall/
Because Docker runs on Linux, it does not run natively on macOS or Windows. Installation on either OS requires installing Linux inside a virtual machine and then running Docker tools within that virtual Linux machine. The days when you had to handcraft that setup yourself are long gone. The Docker team has made this easy by developing easy-to-use Docker applications for Mac and Windows. The Docker for Windows and Docker for Mac bundles package the Docker tools and lightweight virtual machine software. The result is very lightweight, and the Docker containers can be left running in the background with little impact.
You may find references to Docker Toolbox as the method to install Docker on macOS. That application is long gone, and has been replaced by Docker for Windows and Docker for Mac.