Docker Setup on Ubuntu 18.04

Posted in how to on April 16, 2020 ‐ 1 min read

Installing Docker on Ubuntu is extremely easy. Follow these easy steps to get it running and tested.

Install

  1. Update your packages to ensure you get the newest version of Docker.

    $ sudo apt update
    
  2. Install Docker with apt

    $ sudo apt install docker.io
    

Verify

Verify that Docker is installed correctly

$ sudo docker run hello-world