Docker Setup on Ubuntu 18.04

April 16, 2020 in how to by brent1 minute

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