From Docker Installation to Running the First Container
Preparing the Operating System Docker runs most reliably on a Linux operating system. This guide is intended for Ubuntu 20.04 LTS. Installing Docker Removing Existing Packages If you have a previous version of Docker installed on your system, remove it: 1 sudo apt-get remove docker docker-engine docker.io containerd runc Installing Prerequisites Install the packages required for Docker installation: 1 2 3 4 5 6 7 sudo apt-get update sudo apt-get install apt-transport-https ca-certificates curl gnupg lsb-release Adding Docker’s Official GPG Key Add the GPG key to use Docker’s package repository: ...