class InfluxDbContainer(image: str, container_port: int = 8086, host_port: int | None = None, **docker_client_kw)

Abstract class for Docker containers of InfluxDB v1 and v2.

Concrete implementations for InfluxDB 1.x and 2.x are separated iun different packages because their respective clients rely on different Python libraries which we don’t want to import at the same time.