使用 yum 安装 docker-compose
[root@k8s-master ~]# yum list | grep docker-compose
docker-compose.noarch                   1.18.0-4.el7                   epel
[root@k8s-master ~]#
[root@k8s-master ~]# yum install -y docker-compose
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
base                                                                                                                                                                       | 3.6 kB  00:00:00
https://download.docker.com/linux/centos/7/x86_64/stable/repodata/repomd.xml: [Errno 14] curl#6 - "Could not resolve host: download.docker.com; Unknown error"
Trying other mirror.
epel
......

Complete!
[root@k8s-master ~]#
[root@k8s-master ~]# docker-compose -v
docker-compose version 1.18.0, build 8dd22a9
[root@k8s-master ~]#
分类: Docker

发表评论

电子邮件地址不会被公开。 必填项已用*标注