containers icon indicating copy to clipboard operation
containers copied to clipboard

Unable to build comfyui image

Open MindfulPol opened this issue 1 year ago • 1 comments

I'm trying to build the img locally running:

docker build -t runpod/stable-diffusion-comfyui-custom -f official-templates/stable-diffusion-comfyui/Dockerfile .

From the root of the repository (all files have full permission as well).

Regardless I'm getting the following error:

[+] Building 1.1s (12/12) FINISHED                                                                                                                                                                                           docker:default
 => [internal] load .dockerignore                                                                                                                                                                                                      0.0s
 => => transferring context: 2B                                                                                                                                                                                                        0.0s
 => [internal] load build definition from Dockerfile                                                                                                                                                                                   0.0s
 => => transferring dockerfile: 2.93kB                                                                                                                                                                                                 0.0s
 => ERROR [internal] load metadata for docker.io/library/scripts:latest                                                                                                                                                                1.0s
 => CANCELED [internal] load metadata for docker.io/nvidia/cuda:11.8.0-base-ubuntu22.04                                                                                                                                                1.0s
 => ERROR [internal] load metadata for docker.io/library/proxy:latest                                                                                                                                                                  1.0s
 => CANCELED [internal] load metadata for docker.io/runpod/stable-diffusion:models-1.0.0                                                                                                                                               1.0s
 => CANCELED [internal] load metadata for docker.io/runpod/stable-diffusion-models:2.1                                                                                                                                                 1.0s
 => [auth] library/proxy:pull token for registry-1.docker.io                                                                                                                                                                           0.0s
 => [auth] nvidia/cuda:pull token for registry-1.docker.io                                                                                                                                                                             0.0s
 => [auth] library/scripts:pull token for registry-1.docker.io                                                                                                                                                                         0.0s
 => [auth] runpod/stable-diffusion-models:pull token for registry-1.docker.io                                                                                                                                                          0.0s
 => [auth] runpod/stable-diffusion:pull token for registry-1.docker.io                                                                                                                                                                 0.0s
------
 > [internal] load metadata for docker.io/library/scripts:latest:
------
------
 > [internal] load metadata for docker.io/library/proxy:latest:
------
Dockerfile:70
--------------------
  68 |     # Start Scripts
  69 |     COPY pre_start.sh /pre_start.sh
  70 | >>> COPY --from=scripts start.sh /
  71 |     RUN chmod +x /start.sh
  72 |     
--------------------
ERROR: failed to solve: scripts: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed


Can you please help me figure out what I'm doing wrong? Keep in mind that I have not modified anything from the Dockerfile yet :( (I also succesfully did ''docker login'')

MindfulPol avatar Jan 07 '24 10:01 MindfulPol

@MindfulPol Did you find solution. The same issue for me.

Vchekryzhov avatar Mar 18 '24 13:03 Vchekryzhov