Remember once gitlab ci runner can not use a local mirror of the problem

Abnormal gitlab ci arranged runner occurs when using a local commit (not push) mirroring

ERROR: Job failed: Error response from daemon: pull access denied for xxx, repository does not exist or may require 'docker login' (executor_docker.go:168:2s)

Problem: The default setting pull_policy = "always", meaning gitlab-runner every time to the central warehouse docker mirror image pull keywords specified

Solution: Settings pull_policy = "if-not-present" i.e., to the local absence of pulling

 

Reference: https: //www.jianshu.com/p/2b7e73b0a096

 

Guess you like

Origin www.cnblogs.com/donfy/p/11248651.html
Recommended