8000 Cannot pass timeout to a show() or any other function, makes aiodocker hang long time · Issue #859 · aio-libs/aiodocker · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cannot pass timeout to a show() or any other function, makes aiodocker hang long time #859
Open
@ualex73

Description

@ualex73

Long story short

  • Expected behaviour: Timeout passable as argument
  • Actual behaviour: Timeout does not seem to be used in "docker.py" in _do_query function

How to reproduce

Setup connection, block connection with e.g. "iptables".
Call the "show" of a container:
outp = await self._container.show(timeout=3)

It does not timeout after 3 seconds, it hangs for many minutes. Also, debugging in "_do_query", I do not see the value passed to the function from the show.

Your environment

Debian 12, standard Docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0