google-deepmind / google-deepmind/alphafold

404 Client Error for http+docker://localhost/v1.44/images/create?tag=latest&fromImage=alphafold: Not Found ("pull access denied for alphafold, repository does not exist or may require 'docker login': denied: requested access to the resource is denied")

Open
#900 10 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14.9k
Forks
2.9k
PR merge metrics
No merged PRs in 30d

Description

Hello,

I have found a couple of closed threads for this issue but none of the fixes seem to work for me. I am running ubuntu 22.04.

When executing:

```
python3 docker/run_docker.py --fasta_paths=/fasta_data/T1049.fasta --max_template_date=2020-05-14 --model_preset=monomer --data_dir=/data_disk/genetic_database --output_dir=/home/efthymios/protein_fold_predictions`
```

I get:

```
I0222 19:35:41.936533 140393684931008 run_docker.py:116] Mounting /fasta_data -> /mnt/fasta_path_0
I0222 19:35:41.936644 140393684931008 run_docker.py:116] Mounting /data_disk/genetic_database/uniref90 -> /mnt/uniref90_database_path
I0222 19:35:41.936727 140393684931008 run_docker.py:116] Mounting /data_disk/genetic_database/mgnify -> /mnt/mgnify_database_path
I0222 19:35:41.936779 140393684931008 run_docker.py:116] Mounting /data_disk/genetic_database -> /mnt/data_dir
I0222 19:35:41.936861 140393684931008 run_docker.py:116] Mounting /data_disk/genetic_database/pdb_mmcif -> /mnt/template_mmcif_dir
I0222 19:35:41.936925 140393684931008 run_docker.py:116] Mounting /data_disk/genetic_database/pdb_mmcif -> /mnt/obsolete_pdbs_path
I0222 19:35:41.936986 140393684931008 run_docker.py:116] Mounting /data_disk/genetic_database/pdb70 -> /mnt/pdb70_database_path
I0222 19:35:41.937049 140393684931008 run_docker.py:116] Mounting /data_disk/genetic_database/uniref30 -> /mnt/uniref30_database_path
I0222 19:35:41.937108 140393684931008 run_docker.py:116] Mounting /data_disk/genetic_database/bfd -> /mnt/bfd_database_path
Traceback (most recent call last):
File "/home/efthymios/.local/lib/python3.10/site-packages/docker/api/client.py", line 268, in _raise_for_status
response.raise_for_status()
File "/usr/lib/python3/dist-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.44/containers/create

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/efthymios/.local/lib/python3.10/site-packages/docker/models/containers.py", line 811, in run
container = self.create(image=image, command=command,
File "/home/efthymios/.local/lib/python3.10/site-packages/docker/models/containers.py", line 870, in create
resp = self.client.api.create_container(**create_kwargs)
File "/home/efthymios/.local/lib/python3.10/site-packages/docker/api/container.py", line 430, in create_container
return self.create_container_from_config(config, name)
File "/home/efthymios/.local/lib/python3.10/site-packages/docker/api/container.py", line 441, in create_container_from_config
return self._result(res, True)
File "/home/efthymios/.local/lib/python3.10/site-packages/docker/api/client.py", line 274, in _result
self._raise_for_status(response)
File "/home/efthymios/.local/lib/python3.10/site-packages/docker/api/client.py", line 270, in _raise_for_status
raise create_api_error_from_http_exception(e)
File "/home/efthymios/.local/lib/python3.10/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation)
docker.errors.ImageNotFound: 404 Client Error for http+docker://localhost/v1.44/containers/create: Not Found ("No such image: alphafold:latest")

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/efthymios/.local/lib/python3.10/site-packages/docker/api/client.py", line 268, in _raise_for_status
response.raise_for_status()
File "/usr/lib/python3/dist-packages/requests/models.py", line 943, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.44/images/create?tag=latest&fromImage=alphafold

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/efthymios/alphafold/docker/run_docker.py", line 267, in
app.run(main)
File "/home/efthymios/.local/lib/python3.10/site-packages/absl/app.py", line 312, in run
_run_main(main, args)
File "/home/efthymios/.local/lib/python3.10/site-packages/absl/app.py", line 258, in _run_main
sys.exit(main(argv))
File "/home/efthymios/alphafold/docker/run_docker.py", line 237, in main
container = client.containers.run(
File "/home/efthymios/.local/lib/python3.10/site-packages/docker/models/containers.py", line 814, in run
self.client.images.pull(image, platform=platform)
File "/home/efthymios/.local/lib/python3.10/site-packages/docker/models/images.py", line 446, in pull
pull_log = self.client.api.pull(
File "/home/efthymios/.local/lib/python3.10/site-packages/docker/api/image.py", line 430, in pull
self._raise_for_status(response)
File "/home/efthymios/.local/lib/python3.10/site-packages/docker/api/client.py", line 270, in _raise_for_status
raise create_api_error_from_http_exception(e)
File "/home/efthymios/.local/lib/python3.10/site-packages/docker/errors.py", line 31, in create_api_error_from_http_exception
raise cls(e, response=response, explanation=explanation)
docker.errors.ImageNotFound: 404 Client Error for http+docker://localhost/v1.44/images/create?tag=latest&fromImage=alphafold: Not Found ("pull access denied for alphafold, repository does not exist or may require 'docker login': denied: requested access to the resource is denied")
```

Also, when executing:

```docker images```

I get:

```
REPOSITORY TAG IMAGE ID CREATED SIZE
alphafold latest e6d1bcc0db25 29 minutes ago 10.4GB
nvidia/cuda 11.0.3-base-ubuntu20.04 97dfa1ef5ee7 3 months ago 122MB
```

Furhtermore, when trying to pull the image from the docker desktop GUI I get the same error message.

Thx for any help.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.