Tasks¶
- class aiodocker.tasks.DockerTasks(docker)[source]¶
- async inspect(task_id: str) Mapping[str, Any][source]¶
Return info about a task
- Parameters:
task_id – is ID of the task
- async list(*, filters: Mapping | None = None) List[Mapping][source]¶
Return a list of tasks
- Parameters:
filters – a collection of filters
Available filters: desired-state=(running | shutdown | accepted) id=<task id> label=key or label=”key=value” name=<task name> node=<node id or name> service=<service name>