Setting Up Docker
To run these CTF challenges tailored for our lessons, you need Docker installed on your machine. Follow the instructions below for your operating system.
Install with Apt (The Easy Way!)
For Kali Linux users, you can install Docker directly using apt.
sudo apt install docker.io Don't forget to add your user to the docker group:
sudo usermod -aG docker $USER
Install the Latest Version of Docker
We recommend installing the latest version of Docker using the official repository.
1. Set up Docker's apt repository.
# Add Docker's official GPG key:
sudo apt update
sudo apt install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
# Add the repository to Apt sources:
# Add the repository to Apt sources:
echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
# Update the package list again:
sudo apt update 2. Install the Docker packages.
This will install the latest version of Docker.
sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin Don't forget to add your user to the docker group so you don't need sudo for every command:
sudo usermod -aG docker $USER
Log out and log back in for this to take effect.
Windows & Mac
For Windows and Mac users, I would consider Docker Desktop.
Download Docker Desktop