Mirror Usage

镜像加速说明

为了加速镜像拉取,你可以使用以下命令设置registery mirror:

                                                                                                                                                                                            sudo tee /etc/docker/daemon.json <<EOF
                                                                                                                                                                                                        {
                                                                                                                                                                                                                            "registry-mirrors": ["https://docker.naxki.com"]
                                                                                                                                                                                                        }
                                                                                                                                                                                                                    EOF
                                                                                                                                                                                                    

为了避免 Worker 用量耗尽,你可以手动 pull 镜像然后 re-tag 之后 push 至本地镜像仓库:

                                                                                                                                                                                                                                        docker pull docker.naxki.com/library/alpine:latest # 拉取 library 镜像
                                                                                                                                                                                                                                                    docker pull docker.naxki.com/coredns/coredns:latest # 拉取 library 镜像
                                                                                                                                                                                                                        
} } } } } } } }