API running endlessly in many situations
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, ifbinandoptare 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
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 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