Docker only runs natively on Linux. If you are running Linux on your computer, you must install Docker locally.
If you have macOS 10.10.3 Yosemite or newer, you can install Docker Desktop for Mac. Docker for Mac runs as a native Mac application.
If you have an older version of macOS (10.8 Mountain Lion and later) you need to install Docker Toolbox for macOS, which includes Docker Machine, a Linux virtual machine that runs Docker.
If you have Windows 10 you can install Docker Desktop for Windows. Docker Desktop for Windows runs as a native Windows application. It uses the Hyper-V feature of the Windows OS to virtualize the Docker Engine environment and Linux kernel-specific features for the Docker daemon.
If you have Windows 7 or 8 you need to install Docker Toolbox for Windows, which includes Docker Machine, a Linux virtual machine that runs Docker. It allows you to run Docker commands from your terminal, or from a 'Quickstart terminal' application on your computer.
Updated about 2 years ago