安装
首先启动docker:
systemctl start docker
然后安装docker-compose,以编译好的二进制包方式安装:
curl -L "https://github.com/docker/compose/releases/download/1.23.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
然后设置文件的可执行权限
chmod +x /usr/local/bin/docker