本文最后更新于 17 天前,如有失效请评论区留言。
Alma Linux Docker 安装
curl -sSL https://get.daocloud.io/docker | sh
安装 Docker Compose
curl -L https://get.daocloud.io/docker/compose/releases/download/v2.16.0/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
根据各自平台修改Docker镜像源
https://cloud.tencent.com/document/product/1207/45596
vim /etc/docker/daemon.json
{
"registry-mirrors": [
"https://mirror.ccs.tencentyun.com"
]
}
sudo systemctl restart docker
华为云镜像docker加速 https://juejin.cn/post/6991761398002876424