3-docker安装及配置

  1. 安装docker

参照:https://www.cnblogs.com/sheepboy/p/17214777.html

         2. 配置docker,含镜像下载加速地址、允许访问的私有库

参照:https://www.cnblogs.com/sheepboy/p/18363164

docker配置文件路径:/etc/docker/ daemon.json

{
  "registry-mirrors": [
    "https://registry.docker-cn.com",
    "http://hub-mirror.c.163.com",
    "https://docker.mirrors.ustc.edu.cn",
    "https://mirror.ccs.tencentyun.com",
    "https://0l1l00p0.mirror.aliyuncs.com"
  ],
  "insecure-registries": [
    "私有库IP:8081",
    "私有库IP:8083",
    "私有库IP:8083",
    "私有库IP:9090"
  ]
}

posted @ 2024-11-18 16:44  羊孩  阅读(10)  评论(0编辑  收藏  举报
返回顶端