When there's no free space in /var, docker-py throws requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.35/images/.../json
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.2k
- Forks
- 1.7k
- Avg merge
- 13d 8h
- Merged PRs (30d)
- 2
Description
When there's no free space in /var, docker-py throws
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: http+docker://localhost/v1.35/images/.../json
At the same time,
docker pull in shell says:
failed to register layer: Error processing tar file(exit status 1): write /usr/local/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.a: no space left on device
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with no free space in /var, comparing docker pull in the shell with the docker-py request shown in the report. Read the image-related API path involved in the failing request and determine how the underlying no-space error is surfaced. Done should mean the client reports the storage failure accurately rather than only presenting an HTTP 404.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, python
- Domain
- api, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100