1、docker 安装
国内一键安装 sudo curl -sSL https://get.daocloud.io/docker | sh
国外一键安装 sudo curl -sSL get.docker.com | sh
2、docker-compose 安装
sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
3、重启生效
systemctl restart docker
正文完
发表至: 开源脚本
2023-06-08