docker / docker/docker-py

API running endlessly in many situations

Open
#2,776 2 comments 0 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

It seems like there are some hardcore bugs since certain calls / methods of the SDK run endlessly for some reason and sometimes they even kill Docker completely which forces me to restart Docker Desktop because nothing works anymore.

I discovered this behaviour with these calls so far:

  • put_archive: In the destination parameter, there will be a freeze when you don't specify a destination file name or directory name.
    Example: container.put_archive(PATH_TO_FILE, CONTAINER:/opt/)

  • get_archive: When i try the example @ readthedocs, container.get_archive('/bin/sh) the call succeeds and everything is fine. If I'm changing the directory, the call runs endlessly (for example, if bin and opt are at the same level, container.get_archive('/opt') does not work.

I'm running Docker Desktop on Windows 10.
Is anyone experiencing the same? Any chance that these bugs get fixed soon?

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 with the put_archive and get_archive entry points and reproduce the reported calls, including the destination and directory variations, on Windows 10 with Docker Desktop. Trace where each call stops responding and verify that corrected behavior completes without freezing Docker; no source files or tests are named in the report.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
api, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.