Installing Docker is a breeze on Linux. Simply head over to get.docker.com and follow the instructions at the top of the file.
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
There are other methods for installing Docker, but this will get you up and running quickly with a recent version of Docker Community Edition.
A Word of Caution
# NOTE: Make sure to verify the contents of the script# you downloaded matches the contents of install.sh# located at https://github.com/docker/docker-install# before executing.