docker和docker-compose便捷安装
作者:互联网
安装docker: curl -fsSL get.docker.com -o get-docker.sh&&sh get-docker.sh 或: curl -sSL https://get.docker.com/ | sh 测试 sudo docker run hello-world
安装docker-compose 下载1 sudo pip install docker-compose 下载2 sudo curl -L https://get.daocloud.io/docker/compose/releases/download/1.25.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose 或 sudo curl -L https://github.com/docker/compose/releases/download/1.16.1/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose 添加执行权限 sudo chmod +x /usr/local/bin/docker-compose 测试 $ docker-compose --version
参考链接:https://huaweicloud.csdn.net/62a2fa6078f1bc4bebc13cab.html
参考链接:https://huaweicloud.csdn.net/62a2fa6078f1bc4bebc13cab.html
标签:compose,get,便捷,sudo,https,docker,curl 来源: https://www.cnblogs.com/santia-god/p/16575569.html