Install Docker
Windows
- Download
Docker for Windows
from www.docker.com - Check the system requirements for Docker: Install on Windows | Docker Documentation
- Check that WSL is installed: Install WSL | Microsoft Learn
- Install a Linux distribution (distro), required only if WSL is already installed but no distro
- Using Microsoft Store: Set up a WSL development environment | Microsoft Learn
- Using Ubuntu documentation: Install Ubuntu on WSL2 and get started with graphical applications | Ubuntu
- You may need to download and install the Linux kernel update package: Manual installation steps for older versions of WSL | Microsoft Learn
- Install Docker with
Use WSL 2 instead of Hyper-V
selected
Optional:
- Set up Docker with IntelliJ by downloading Docker plugin (which should configure everything automatically): Docker in IntelliJ IDEA - YouTube
- Install VS Code extension for Docker (VS Code will prompt you automatically as it detects the Docker installation)
Linux
The below is for Debian based distributions such as Ubuntu.
- Simply follow the instructions on the Docker website: Install Docker Desktop on Ubuntu | Docker Documentation
Optional:
- Set up Docker with IntelliJ by downloading Docker plugin (which should configure everything automatically): Docker in IntelliJ IDEA - YouTube
- Install VS Code extension for Docker (VS Code will prompt you automatically as it detects the Docker installation)