Docker 镜像加速 🚀

Docker 镜像加速使用教程

为了加速镜像拉取,使用以下命令设置 registry mirror

支持系统:Ubuntu 16.04+、Debian 8+、CentOS 7+

加速域名:docker.zhkugh.top

  1. 修改 Registry Mirrors 地址为我们的加速域名:
    #vim /etc/docker/daemon.json
      {
        "registry-mirrors": ["https://docker.zhkugh.top"]
      }
  2. 重启 Docker 服务:
    sudo systemctl restart docker
  3. 通过加速域名拉取镜像:
    docker pull docker.zhkugh.top/library/alpine:latest
      docker pull docker.zhkugh.top/coredns/coredns:latest
      docker pull docker.zhkugh.top/library/mysql:8.0
  4. 拉取镜像测试:
本作品采用《CC 协议》,转载必须注明作者和本文链接
《L03 构架 API 服务器》
你将学到如 RESTFul 设计风格、PostMan 的使用、OAuth 流程,JWT 概念及使用 和 API 开发相关的进阶知识。
《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
讨论数量: 3

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!