Zakher Masriremove redis partbc781001 year agoHistory
49 lines · 1.3 KB · Markdown
RawDownload

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t