DockerContextEndpoint (aiodocker/docker.py)

aiodocker · aiodocker/docker.py · python · Apache-2.0
infra

Module exposing: DockerContextEndpoint, Docker

# Source: https://github.com/aio-libs/aiodocker | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
from __future__ import annotations

import asyncio
import hashlib
import json
import logging
import os
import re
import ssl
import sys
import warnings
from collections.abc import AsyncIterator, Mapping
from contextlib import AbstractAsyncContextManager, asynccontextmanager
from pathlib import Path
from types import TracebackType
from typing import Any

import aiohttp
import attrs
from multidict import CIMultiDict
from yarl import URL

# Sub-API classes
from .configs import DockerConfigs
from .containers import DockerContainer, DockerContainers
from .events import DockerEvents
from .excep

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key