Installing Docker

This runbook explains how to install Docker on a Linux server. Prerequisites Access to the server Root or sudo privileges Steps Update Package List sudo apt update Install Required Packages sudo apt install -y apt-transport-https ca-certificates curl software-properties-common Add Docker GPG Key curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - Add Docker Repository sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" Install Docker sudo apt update sudo apt install -y docker-ce Start and Enable Docker sudo systemctl start docker sudo systemctl enable docker Verification Check Docker version: docker --version Run a test container: sudo docker run hello-world

Runbook.site