1. Install Docker#
wget -qO- get.docker.com | bash
1.1 Check Docker version#
docker -v
1.2 Set to start on boot#
systemctl enable docker
2. 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
docker-compose --version