First step: install Docker
curl -sSL https://get.docker.com | sh
Last step: install Docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
Source: https://docs.docker.com/compose/install/