Chapter VI Nine Analysis takes you to play rancher-require 'docker login'
This series of articles:
Chapter 1: Nine Analysis takes you to play with rancher-installation
Chapter 2: Nine Analysis takes you to play rancher-Import Cluster
Chapter 3: Nine Analysis takes you to play rancher-Integrated gitlab
Chapter 4: Nine Analysis takes you to play rancher-Integrated harbor
Chapter 5: Nine Analysis takes you to play with rancher-Pipeline release
Chapter 6: Nine Analysis takes you to play rancher-require 'docker login'
Catalogue
1 problem description
2 problem solving
1 problem description
Set the private image repository harbor and the custom domain name jiuxi.harbor.org. Log in to harbor successfully using the command line client:
However, when releasing the assembly line, pod reported the following error:
ErrImagePull: rpc error: code = Unknown desc = Error response from daemon: pull access denied for jiuxi.harbor.org/stable/chapter-001-helloworld, repository does not exist or may require 'docker login'
2 problem solving
The solution is as follows: select the host to which pod is scheduled, and execute the following statement:
Cp ~ / .docker/config.json / var/lib/kubelet/config.json
For details, please refer to the official website of kubernetes.