Docker Installation Guide¶
This document outlines how to install Docker on various operating systems.
MacOS¶
Either of these following options will install Docker in your MacOS system:
- Docker Desktop installation
- Using homebrew (
brew
) package managerbrew cask install docker
Windows¶
Either of these following options will install Docker in your Windows system:
- Docker Desktop installation
- Using Chocolatey package manager
choco install docker-desktop
Ubuntu¶
Run the following commands in order to install Docker in your Ubuntu system:
sudo apt install docker.io
sudo systemctl start docker
sudo systemctl enable docker
CentOS / AmazonLinux2¶
Run the following commands in order to install Docker in your CentOS / AmazonLinux2 system:
sudo amazon-linux-extras install -y docker
sudo yum install -y docker
sudo service docker start
sudo usermod -a -G docker <YOUR USERNAME>