For the student
Everything in this course runs in Linux. Set up one Linux, give Docker at most 4 GB of your 8, configure Git, put the course in your Linux home, and run the setup check until seven lines say OK. Every step for Windows 11, Ubuntu and macOS is in labs/m01/README.md.
One Linux, Docker capped at 4 GB
- Windows 11: Ubuntu 26.04 inside WSL2;
%UserProfile%\.wslconfig holds [wsl2] and memory=4GB; then wsl --shutdown. Without it, WSL2 may take up to half the laptop's memory; the line fixes its share at 4 GB - Ubuntu laptop: Ubuntu 26.04 (24.04 also works); Docker has no cap, so close other apps before modules 9 and 10
- macOS: Docker Desktop, Settings, Resources, Memory 4 GB;
brew install jq; Git, curl and make come with xcode-select --install - After the cap,
free -h inside Ubuntu shows about 3.8 GiB in total: Linux sees its share, and the laptop keeps the rest
The Windows 11 route
- PowerShell:
wsl --list --online, then wsl --install -d Ubuntu-26.04, then make your Linux user - In Ubuntu:
sudo apt update && sudo apt install -y git curl jq make unzip ca-certificates - Docker Engine and Compose from Docker's own package repository (five commands in the lab README), then
sudo usermod -aG docker "$USER" and a new terminal (on WSL2, wsl --shutdown if needed) git config --global user.name "Your Name", git config --global user.email "you@example.com", git config --global init.defaultBranch mainunzip cloud-devops.zip -d ~ && cd ~/cloud-devops: the course lives in ~/cloud-devops, never under /mnt/c (no Linux permissions, slow files), /tmp (can be emptied at restart) or /root (needs sudo)
The setup check
./scripts/check_setup.sh prints OK linux, OK memory, OK docker, OK compose, OK git, OK curl, OK jq, each with a short detail, then NOTE uv not installed yet: make service installs uv 0.13.9 in module 2- The uv line is a note, never a failure
- Each FAIL line names its own fix; run the check again after every fix
FAIL docker: permission denied on /var/run/docker.sock means you are not in the docker group yet: sudo usermod -aG docker $USER, then a new terminal. Never sudo chmod 777 on the socket, and do not put sudo before every docker command
Try it
- Do the setup for your laptop from
labs/m01/README.md - Run
./scripts/check_setup.sh in ~/cloud-devops until it prints the seven OK lines and the uv NOTE