Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.32 KB

GUIDES.md

File metadata and controls

49 lines (37 loc) · 1.32 KB

Docker

Here's how to install docker on different operating systems:

macOS

  1. Visit Docker Desktop for Mac
  2. Download the Docker Desktop installer
  3. Double-click the downloaded .dmg file
  4. Drag Docker to your Applications folder
  5. Open Docker Desktop from Applications
  6. Follow the onboarding tutorial if desired

Linux

Ubuntu

# Update package index
sudo apt-get update

# Install prerequisites
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    gnupg \
    lsb-release

# Add Docker's official GPG key
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

# Set up stable repository
echo \
  "deb [arch=amd64 signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
  $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null

# Install Docker Engine
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io

Windows

  1. Enable WSL2 if not already enabled
  2. Visit Docker Desktop for Windows
  3. Download the installer
  4. Run the installer and follow the prompts
  5. Start Docker Desktop from the Start menu