@
kyonn 拉取需要加 nexus IP:PORT 吗?我试了
# 这个会报错
$ docker pull kube-scheduler-amd64:v1.10.11
Error response from daemon: pull access denied for kube-scheduler-amd64, repository does not exist or may require 'docker login': denied: requested access to the resource is denied
# 这样可以并且可以缓存到 nexus 里面
$ docker pull nexus_ip:nexus_port/kube-scheduler-amd64:v1.10.11
v1.10.11: Pulling from kube-scheduler-amd64
90e01955edcd: Pull complete
6f1c7d9da528: Pull complete
Digest: sha256:3f40a5beec15fe39300d5bac56d6d7b72957afca51d3353aeb77a563f889973c
Status: Downloaded newer image for nexus_ip:nexus_port/kube-scheduler-amd64:v1.10.11
nexus_ip:nexus_port/kube-scheduler-amd64:v1.10.11
# 这样会直连
k8s.gcr.io 拉取
$ docker pull
k8s.gcr.io/kube-scheduler-amd64:v1.10.11v1.10.11: Pulling from kube-scheduler-amd64
90e01955edcd: Pull complete
6f1c7d9da528: Pull complete
Digest: sha256:3f40a5beec15fe39300d5bac56d6d7b72957afca51d3353aeb77a563f889973c
Status: Downloaded newer image for
k8s.gcr.io/kube-scheduler-amd64:v1.10.11k8s.gcr.io/kube-scheduler-amd64:v1.10.11