Open
Description
I couldn't find a way with aiodocker to execute docker top.
I currently do something like that, but it is not a good practice to call a private func _query_json
`async def docker_top(ps_args: str | None = None) -> dict[str, Any]:
res: dict[str, Any] = await async_docker._query_json( # noqa: SLF001
f"containers/{cls.container_name}/top", params={"ps_args": ps_args}
)
return res`
Metadata
Metadata
Assignees
Labels
No labels