Docker install
apt-get update
apt-get install software-properties-common &&
apt-add-repository ppa:ansible/ansible &&
apt-get update &&
apt-get install -y ansible &&
sudo sh -c "echo 'localhost ansible_connection=local' >> /etc/ansible/hosts"
apt-get install --yes linux-image-extra-$(uname -r) linux-image-extra-virtual
apt-get update
apt-get install --yes apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
apt-get update
apt-get install --yes docker-ce python3-pip git
pip3 install docker-compose
systemctl enable docker