Skip to content

国内已经无法按照脚本安装docker,有考虑优化安装策略么 #1868

@xjxjin

Description

@xjxjin

我执行curl -fsSL https://get.docker.com | bash
提示 curl: (7) Failed to connect to get.docker.com port 443 after 60247 ms: Connection refused

目前看网上有安装方法

## 设置秘钥
curl -fsSL https://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add -

## 增加软件源
 sudo add-apt-repository \
"deb [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/ubuntu \
$(lsb_release -cs) \
stable"

## 安装docker
 sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin

有考虑按照这种方式安装docker么

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions