docker / docker/docker-py

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
#2,503 1 comment 3 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.