Docker Installation : Step by Step Procedure

OS requirements:

To install Docker Engine, you need the 64-bit version of one of these Ubuntu versions:

  • Ubuntu Kinetic 22.10
  • Ubuntu Jammy 22.04 (LTS)
  • Ubuntu Focal 20.04 (LTS)
  • Ubuntu Bionic 18.04 (LTS)

Step 1 : Uninstall old versions

  • Older versions of Docker went by the names of dockerdocker.io, or docker-engine. Uninstall any such older versions before attempting to install a new version:
    • sudo apt-get remove docker docker-engine docker.io containerd runc
  • It’s OK if apt-get reports that none of these packages are installed.

Step 2 : Install Docker Engine

  • Update the apt package index:
    • sudo apt-get update
  • Install Docker Engine, containerd, and Docker Compose.
    • sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

Leave a Comment

MFH IT Solutions (Regd No -LIN : AP-03-46-003-03147775)

Consultation & project support organization.

Contact

MFH IT Solutions (Regd)
NAD Kotha Road, Opp Bashyam School, Butchurajupalem, Jaya Prakash Nagar Visakhapatnam, Andhra Pradesh – 530027