Step-by-step – Docker Installation in Ubuntu 20.04 Guide

April 8, 2020 | By the+gnu+linux+evangelist.

Installing

  1. 3. 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. 4. 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. Installing Docker CE

    Then to Install Docker CE
    Simply run:

    sudo apt install docker-ce
  4. 6. Testing Docker CE

    Testing Docker Installation.

    With:

    sudo docker run hello-world

    Or:

    docker run hello-world

    Then Docker will Pull the Repo and Greets you with:
    Hello from Docker! :)

  5. 8. Docker CE Getting Started

    How to Get Started with Docker and Docker Containers

    Docker Quick Start Guide

Contents


QuickChic Theme • Powered by WordPress