centos安装方式,采用阿里云的镜像和安装脚本

或者到https://store.docker.com/search?type=edition&offering=community下载相应系统的安装包安装

#安装docker客户端 
curl -sSL http://acs-public-mirror.oss-cn-hangzhou.aliyuncs.com/docker-engine/internet | sh -
#配置加速镜像
sudo mkdir -p /etc/docker
 sudo tee /etc/docker/daemon.json <<-'EOF'
 {
   "registry-mirrors": ["<https://我的阿里云专业加速地址.mirror.aliyuncs.com>"]
 }
 EOF
 sudo systemctl daemon-reload
 sudo systemctl restart docker

windows安装

https://store.docker.com/editions/community/docker-ce-desktop-windows
安装包下载,双击安装就完事了。
windows设置镜像地址
docker在windows,centos中的安装

相关文章:

  • 2021-10-11
  • 2022-12-23
  • 2021-07-20
  • 2021-09-12
  • 2021-11-18
  • 2021-08-23
  • 2022-12-23
  • 2021-06-13
猜你喜欢
  • 2022-12-23
  • 2021-10-02
  • 2022-12-23
  • 2022-01-19
  • 2021-11-19
  • 2022-01-20
相关资源
相似解决方案