我在Gitlab容器注册表中创建了一些图像。我无法在我的本地系统上使用docker来拉它们。登录命令成功,但是当我输入以下命令时:
docker pull reg-gitlab-project.company.com/services/palimited/integrationservices/springbootproject/springbootproject:latest
我得到以下错误
Error response from daemon: Head "https://reg-gitlab-project.company.com/v2/services/palimited/integrationservices/springbootproject/springbootproject/manifests/latest": denied: access forbidden
我不知道为什么会出现这个错误?谁能给我指路?
在发出docker pull
命令之前,需要使用reg-gitlab-project.company.com
上的容器注册中心进行身份验证。
参见,GitLab Docs: Authenticate with Container Registry.