How to install Docker

Install Docker to run a local devnet.

  1. 1Go to the Docker Desktop for Mac page.
  2. 2Download the .dmg file.
  3. 3Open the downloaded .dmg file.
  4. 4Drag the Docker icon to the Applications folder.
  5. 5Open Docker from the Applications folder.
  6. 6Grant the necessary permissions if prompted.
  7. 7Docker Desktop icon will appear in the menu bar indicating that Docker is running.

To verify installation, run docker --version in your terminal. You should see the Docker version information.

  1. 1Go to the Docker Desktop for Windows page.
  2. 2Download the executable.
  3. 3Run the downloaded executable.
  4. 4Follow the installation wizard steps (you may need to restart your computer).
  5. 5Ensure the WSL 2 (Windows Subsystem for Linux) backend is checked during installation, if applicable.
  6. 6Open Docker Desktop from the Start menu.
  7. 7Grant the necessary permissions if prompted.
  8. 8Docker icon will appear in the system tray indicating Docker is running.

To verify installation, run docker --version in your terminal. You should see the Docker version information.

Windows installation

You might need to install additional Windows components like Hyper-V or WSL 2.


Next steps

On this page