deployed_code
Docker Install Guide
Official apt repository method for Debian/Ubuntu VMs. Safe to follow on a fresh machine.
arrow_back Back to Deploy
counter_1 Install Prerequisites
Ensure the system has the packages needed to fetch and verify Docker's apt repository.
sudo apt-get update sudo apt-get install -y ca-certificates curl
counter_2 Add Docker's apt Repository
Add Docker's official GPG key and register the stable repository for your Ubuntu release.
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 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
counter_3 Install Docker
Update apt with the new repository and install the Docker Engine, CLI, containerd, and Compose plugin.
sudo apt-get update sudo apt-get install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
counter_4 Verify
Confirm Docker is installed and the daemon is running.
docker --version sudo systemctl status docker
counter_5 Log In to Harbor Registry
Authenticate Docker with the Harbor registry so this VM can pull Gate images. Credentials are loaded from Settings.
Loading credentials...