cd ~/

Install Docker

Linux

sudo apt install -y docker docker-compose bash
sudo groupadd docker
sudo usermod -aG docker $USER

Once installed, reload the current session (or simply reboot a machine).

OS X

Download, install and launch Docker Desktop. Make sure the toolbar now has a Docker icon.

Check Docker has been installed

This should output a hello message from Docker

docker run hello-world