google-deepmind / google-deepmind/alphafold

404 Client Error: Not Found for url: http+docker://localhost/v1.42/containers/create during docker/run_docker.py

Open
#745 0 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

I'm having an issue similar to [https://github.com/deepmind/alphafold/issues/107], but am unable to resolve it even after following the steps on there.
I'm running Ubuntu 22.04 LTS on a i9-12900k with an NVIDIA RTX 3060 12GB GPU and 128 GB RAM
I ran this command
`python3 docker/run_docker.py --fasta_paths=/censoredpath/alphafold_analyses/atlas_markers/RNAofinterest.fa --max_template_date=2023-04-04 --data_dir=/censoredpathi/programs/alphafold-data --output_dir=/censoredpath/alphafold_analyses/atlas_markers/results`

That yields this error message (showing just the beginning here, looks about the same as issue 107)

```
Traceback (most recent call last):
File "/censoredpath/anaconda3/envs/alphafold2/lib/python3.8/site-packages/docker/api/client.py", line 268, in _raise_for_status
response.raise_for_status()
File "/censoredpath/anaconda3/envs/alphafold2/lib/python3.8/site-packages/requests/models.py", line 1021, 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.42/containers/create
```
have a conda virtual env called alphafold2 with the packages installed from requirements.txt
I'm running Docker version 23.0.3, build 3e7cbfd,
I followed all the instructions to install alphafold via docker, my docker images looks like this:
```
REPOSITORY TAG IMAGE ID CREATED SIZE
alphafold latest b8580ad17120 8 minutes ago 5.07GB
nvidia/cuda 11.7.0-base-ubuntu22.04 6af217364a0d 3 months ago 208MB
```
nvidia-smi output:
```
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.105.01 Driver Version: 515.105.01 CUDA Version: 11.7 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 On | N/A |
| 0% 42C P5 25W / 170W | 448MiB / 12288MiB | 6% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 6784 G /usr/lib/xorg/Xorg 210MiB |
| 0 N/A N/A 7144 G /usr/bin/gnome-shell 41MiB |
| 0 N/A N/A 10888 G ...7/usr/lib/firefox/firefox 154MiB |
| 0 N/A N/A 37858 G ...RendererForSitePerProcess 38MiB |
+-----------------------------------------------------------------------------+
```

On the other hand, when doing the docker nvidia-smi i get:
```
docker run --rm --gpus all nvidia/cuda:11.7.0-base-ubuntu22.04 nvidia-smi
docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error running hook #0: error running hook: exit status 1, stdout: , stderr: Auto-detected mode as 'legacy'
nvidia-container-cli: initialization error: load library failed: libnvidia-ml.so.1: cannot open shared object file: no such file or directory: unknown.
```
nvidia-smi was working earlier via docker so i'm not sure what's going on here. Looks unrelated to the issue at hand though, the requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.42/containers/create

Any potential fixes?

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.