# docker
sudo yum -y install docker
docker -v
# 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 run
sudo service docker start
sudo usermod -aG docker $USER
|