2. Install

2.1. Versions

LTS version

Docker Long Term Support version

Edge version

Docker up-to-date (newest) version

2.1.1. macOS

$ curl https://get.docker.com |sh

2.1.2. Ubuntu

Listing 2.44. Preferred
$ curl https://get.docker.com |sh
Listing 2.45. Alternative
$ sudo apt update
$ sudo apt install docker.io

2.1.3. Linux

$ curl https://get.docker.com |sh