In our last tutorial, we have discussed the fundamentals of Docker. To begin experimenting with Docker, like learning the commands, working with Docker, and deploying applications, we need first to install Docker on our machine. Almost all operating systems support Docker, but we need to follow a specific sequence of installation. In this tutorial, we will discuss the installation of Docker on Windows and Linux. In addition, Docker Engine is supported by the following platforms.

  1. Linux.
  2. Windows OS.
  3. macOS.

Windows and Mac OS offer Docker installation through “Docker Desktop.” In addition, Docker provides “.rpm” or “.deb” packages for Linux architectures and distributions for various Linux versions.

Subsequently, we will be discussing the following topics in this article:

  • How to install Docker in Linux?
  • System Requirements/Prerequisites.
  • How to Install Docker on Ubuntu?
  • How to Uninstall Docker?
  • And, how to install Docker on other Linux versions?
  • How to Install Docker on Windows?
  • Prerequisites for installing Docker on Windows.
  • How to install Docker Desktop on Windows?
  • And, how to uninstall Docker Desktop on Windows?
  • How to Install Docker on macOS?
  • And, how to uninstall Docker on macOS?

How to install Docker on Linux?

We should ensure that we fulfill all the prerequisites and/or system requirements before installing Docker in a Linux environment,

System Requirements/Prerequisites

We should ensure that the Linux machine has satisfied the following requirements.

Check for OS requirements.

To install Docker on Linux, the system should be 64-bit and have one of the following Linux Ubuntu versions installed.

  • Ubuntu Focal 20.04 (LTS)
  • Ubuntu Bionic 18.04 (LTS)
  • Or, Ubuntu Xenial 16.04 (LTS)

The various architectures that support Docker Engine are x86_64 (amd64), armhf, and arm64.

#docker #linux #windows #macos

Install Docker on Linux and Windows and macOS
1.30 GEEK