Update your package index and install tools that allow apt to use a repository over HTTPS:
sudo apt-get remove docker docker-engine docker.io containerd runc Use code with caution. download docker engine for ubuntu
Add the official Docker GPG Key to verify package integrity: Update your package index and install tools that
64-bit version of Ubuntu 26.04 (LTS) , 25.10 , 24.04 (LTS) , or 22.04 (LTS) . Architecture: x86_64 (or amd64), armhf, arm64, or s390x. Kernel: Linux Kernel version 3.10 or higher. Step-by-Step Installation Guide 1. Uninstall Old Versions download docker engine for ubuntu
Before installation, ensure your system meets these requirements:
sudo apt-get update sudo apt-get install ca-certificates curl gnupg Use code with caution.