Docker Install on Ubuntu

A simple script for installing Docker on an Ubuntu host.

apt-get update
apt-get install apt-transport-https ca-certificates curl software-properties-common curl -y
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
sudo apt-get update
apt-get install -y docker-ce