Docker
Step1: Update
Step2: Install the Dependencies
1
|
sudo yum install -y yum-utils device-mapper-persistent-data lvm2
|
Step3: Add the Docker Repository to CentOS
1
|
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
|
Step4: Install Docker
1
|
sudo yum install docker
|
Step5: Install Docker-compose
1
2
3
|
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
|
Author
Honlyc
LastMod
2020-02-20
License
转载请注明出处。CC BY-NC-ND 4.0