Docker Ubuntu 21.10 Installation – Step-by-step

November 20, 2021 | By the+gnu+linux+evangelist.

Installing

  1. 2. Preinstallation Testing

    Check if a Previous Docker Version is Installed
    With:

    which docker

    If Yes then Remove that with:

    sudo apt remove docker docker-engine
  2. 3. Installing Packages

    Install PreRequisite Packages.

    sudo apt install apt-transport-https ca-certificates software-properties-common  
    

    Authenticate with the User Admin Pass.
    If Got “User is Not in Sudoers file” then see: How to Enable sudo.

  3. 5. Setting Up Docker CE Repo

    How to Setup the Docker CE Apt Repository

    Docker Repo Setup
  4. 6. Installing Docker CE

    Then to Install Docker CE
    Simply run:

    sudo apt install docker-ce

Contents


QuickChic Theme • Powered by WordPress