如何快速安装docker呢?
以腾讯云为例
- 参考 https://yeasy.gitbook.io/docker_practice/install/ubuntu#shi-yong-jiao-ben-zi-dong-an-zhuang
- docker官方为我们提供了一个自动化安装脚本,并且可以方便的换源
curl -fsSL get.docker.com -o get-docker.sh
这个命令将get-docker.sh这个脚本下载下来- 如果上述命令安装缓慢,可以使用我提供的副本
wget https://file.zhouruifa.top/get-docker.sh
- 很快就下载好了get-docker.sh这个脚本
sudo sh get-docker.sh --mirror Aliyun
以阿里源进行安装- 两分钟就可以装好了