安装 Docker
curl -fsSL https://get.docker.com | bash -s docker –mirror Aliyun
systemctl enable –now docker
安装 docker-compose
curl -L https://github.com/docker/compose/releases/download/2.20.3/docker-compose-uname -s-uname -m -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
验证安装
docker -v
docker-compose -v
正文完
发表至: 未分类
2024-02-05