-
The error message is:
docker: Error response from daemon: pull access denied for deploy-container, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
-
I confirmed that I am using a local image, and there is this image locally, and the image name is also there.
-
For security reason, OneDev now always pull image before running it, in case that someone polluates the image with a self-built one on same machine using same name and tag.
-
So how should I configure my local image? My docker hub does not have this image.
-
Please push to docker hub or a self-hosted registry (OneDev has built-in registry), and set up appropriate permissions so that only authorized users can pull/push it.
-
Oh no, I have a lot of warehouses and it is very painful to modify. Can you please turn off this configuration and change it to never?
-
Can you make a switch to modify this configuration?
-
Name Previous Value Current Value Type
Question
Improvement
-
Previous Value Current Value upgraded OneDev to version 10.9.3, I encountered an error when running the local Docker image.
Able to turn off always pull option for docker images
-
OneDev
changed state to 'Closed' 2 years ago
Previous Value Current Value Open
Closed
-
State changed as code fixing the issue is committed (f414e321)
-
OneDev
changed state to 'Released' 2 years ago
Previous Value Current Value Closed
Released
-
State changed as build OD-5246 is successful
-
The option exists in job executor setting:

| Type |
Improvement
|
| Priority |
Normal
|
| Assignee | |
| Labels |
No labels
|
Before the upgrade, everything was working normally.
The error message is:
14:07:22 Pending resource allocation... 14:07:22 Executing job (executor: OneDev, server: 127.0.0.1:5710, network: OneDev-32-2712-0)... 14:07:22 Copying job dependencies... 14:07:22 Running step "deploy"... 14:07:25 docker: Error response from daemon: pull access denied for deploy-container, repository does not exist or may require 'docker login': denied: requested access to the resource is denied. 14:07:25 See 'docker run --help'. 14:07:25 Command exited with code 125 14:07:25 Step "deploy" is failed (2 seconds) 14:07:26 Job finished