Repository navigation
Open
Description
Trying to run the example:
cog run python pixray.py --drawer=pixel --prompt=sunrise --output myfile.png
and am getting errors saying that the docker base images do not exist or I do not have access.
=> [stage-0 4/4] WORKDIR /src 0.1s
=> exporting cache 4.2s
=> => preparing build cache for export 4.2s
Use 'docker scan' to run Snyk tests against images to find vulnerabilities and learn how to fix them
Running 'python pixray.py --drawer=pixel --prompt=sunrise --output myfile.png' in Docker with the current directory mounted as a volume...
Unable to find image 'cog-pixray-base:latest' locally
docker: Error response from daemon: pull access denied for cog-pixray-base, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
ⅹ exit status 125
How to resolve?
Metadata
Metadata
Assignees
Labels
No labels
Activity
bfirsh commentedon Oct 14, 2021
Hey @kevinelliott! It looks like something is failing further up in the log output. Would you mind pasting the full output?
If I recall correctly, this sometimes happens if Docker has run out of disk space.
docker system prunemight help you out here. (Warning: it'll delete old containers, in case you have any data in there.)Cog should also show you a better error. We'll fix that...
dribnet commentedon Oct 18, 2021
Just checking in - this this still an issue for you @kevinelliott ?
kevinelliott commentedon Oct 22, 2021
Hey! I'm trying again right now and will give you more details. Yes it is still an issue @dribnet thanks for your patience.
kevinelliott commentedon Dec 17, 2021
@dribnet @bfirsh
Now getting this:
kevinelliott commentedon Dec 17, 2021
This was a new system build, so I needed to raise the memory allocated to the new Docker installation and managed to pass that now.
kevinelliott commentedon Dec 17, 2021
kevinelliott commentedon Dec 17, 2021
I had to disable the GPU and CUDA in
cog.yamlbecause my system has an AMD card and thus doesn't support CUDA.kevinelliott commentedon Dec 17, 2021
Almost had success there!
Merge pull request dribnet#16 from xXChampionsXx/patch-1
okanji commentedon Mar 11, 2023
This saved me! Seems so obvious now. Thank you!