Install Docker

Windows

  1. Download Docker Desktop:

    • Go to: https://www.docker.com/products/docker-desktop/

    • Click "Download for Windows"

    • Run the installer

  2. Install:

    • Follow the installation wizard

    • When it asks about WSL 2, say Yes (it will install it if needed)

    • Restart your computer when asked

  3. Start Docker Desktop:

    • Look for Docker Desktop in your Start menu

    • Open it

    • Wait for it to start (you'll see a whale icon in your system tray)

    • The whale icon should be steady (not animated) when it's ready

  4. Verify it works:

    • Press Windows key, type powershell, press Enter

    • Type: docker --version

    • Press Enter

    • You should see something like: Docker version 24.x.x

    • If you see an error, Docker isn't installed correctly

Linux

Install Docker:

*Ubuntu/Debian*

sudo apt update

sudo apt install docker.io docker-compose

sudo systemctl start docker

sudo systemctl enable docker

Add your user to docker group (so you don't need sudo)

sudo usermod -aG docker $USER

Log out and log back in for the group change to take effect

Verify it works:

docker --version

You should see a version number. If not, Docker isn't installed correctly.

Last updated