Docker Setup

Learn via video courses
Topics Covered

Overview

In this article, we will understand and get to know information about system requirements, download URLs, and instructions on how to perform a docker setup.

Introduction

This article covers the system requirements, download URLs, and instructions for setting up docker. We will learn about these topics and understand how to perform a docker setup.

Download and Install Docker

Docker setup is done differently in each operating system due to their different designs and approaches. Let us see how we can install docker on Mac, Windows, and Linux.

Mac with Intel Chip

System requirements :

  • For the docker setup, you must be running macOS 10.15 or later to use this product, which includes Catalina, Big Sur, and Monterey.
  • At least 4 GB of RAM is required for using Docker Desktop.
  • If you have VirtualBox with version 4.3.30 installed on your machine, you must uninstall it as it is incompatible with Docker Desktop.

Download the installer :

  • Download the .dmg file by clicking on this link

Installation :
After downloading the .dmg file, you can either install it interactively or by using the CLI.

Interactively :

  • Double-click Docker.dmg to open the installer, then drag the Docker icon to the Applications folder, then Double-click Docker.app in the Applications folder to start Docker.

CLI :

  • Run the below commands


Mac with Apple Chip

System Requirements :
For the docker setup to take place most smoothly, docker recommends that Rosetta 2 be installed. You can install it using the below commands.

Download the installer :

  • Download the .dmg file by clicking on this link

Installation :
After downloading the .dmg file, you can either install it interactively or by using the CLI.

Interactively :

  • Double-click Docker.dmg to open the installer, then drag the Docker icon to the Applications folder, then Double-click Docker.app in the Applications folder to start Docker.

CLI :

  • Run the below commands


Windows

System requirements :

For a docker setup on a windows machine, the following version is currently supported :

  • For Windows 11 64-bit :
    Home or Pro version 21H2 or higher, or Enterprise or Education version 21H2 or higher.
  • For Windows 10 64-bit :
    Home or Pro 21H1 (build 19043) or higher, or Enterprise or Education 20H2 (build 19042) or higher.
  • For Windows 11 or Windows 10 :
    64-bit processor with Second Level Address Translation, 4GB system RAM with BIOS-level hardware virtualization support enabled.

Download the installer :

  • Download the .dmg file by clicking on this link

Installation :
After downloading the .dmg file, you can either install it interactively or by using the CLI.

Interactively :

  • Double-click Docker Desktop Installer.exe to run the installer, and ensure the Use WSL 2 instead of Hyper-V option on the Configuration page is selected or not, depending on your choice of backend.
  • Follow the instructions on the installation wizard to authorize the installer and proceed with the installation.

CLI :

  • Run one of the below commands depending upon what CLI you are using.


Linux

System requirements :

For a docker setup, the following are required on the machine running Linux :

  • 64-bit kernel and CPU support for virtualization with KVM virtualization support.
  • QEMU must be version 5.2 or newer.
  • Existence of systemd init system.
  • Gnome, KDE, or MATE Desktop environment.
  • At least 4 GB of RAM.
  • Enabled configuring ID mapping in user namespaces.

Further steps depend on the Linux Distro being used.

Debian & Ubuntu :

  • Choose & download the latest DEB package.

  • Run the below command :

Fedora :

  • Choose & download the latest RMP package.

  • Run the below command :

Arch :

  • Choose & download the latest Arch package.

  • Run the below command :

Conclusion

In this article, we’ve covered the system requirements, download URLs, and instructions on how to perform a docker setup on various operating systems and chip systems. Let's continue to learn more about docker!