CentOS安装Docker Compose

版权声明:转载时请注明作者Fundebug以及本文地址。 https://blog.csdn.net/Fundebug/article/details/86284892
yum update nss curl
curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose

docker-compose --version
docker-compose version 1.23.1, build b02f1306

不更新nss和curl话,curl命令执行的时候有可能会出错:

Peer reports incompatible or unsupported protocol version.

参考

猜你喜欢

转载自blog.csdn.net/Fundebug/article/details/86284892