Install Docker Engine
This guide will walk you through the installation of Docker Engine on popular Linux platforms such as Ubuntu, Raspberry Pi OS, Debian, and Alpine Linux.
Installation Steps
Ubuntu
sudo apt-get updatesudo apt-get install ca-certificates curl gnupg lsb-releasesudo mkdir -p /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/keyrings/docker.gpgecho \ "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/nullsudo apt-get update sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-pluginsudo docker run hello-world
Raspberry Pi OS
Debian
Alpine Linux
Post-Installation Steps
Troubleshooting
Last updated