# repository

sudo yum -y update

sudo yum -y install epel-release


# curl, git, wget, python2.7

#sudo yum -y install curl git

sudo yum -y install wget


# docker

sudo yum -y install yum-utils device-mapper-persistent-data lvm2

sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

sudo yum makecache fast

sudo yum -y install docker-ce


# docker-compose

sudo yum -y install python-pip

sudo pip install docker-compose

 

# docker-compose

#curl -L https://github.com/docker/compose/releases/download/1.14.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose

#chmod +x /usr/local/bin/docker-compose


# docker

systemctl start docker

systemctl enable docker

+ Recent posts