airflow.providers.docker.exceptions

Exceptions used by Docker provider.

Module Contents

exception airflow.providers.docker.exceptions.DockerContainerFailedException(message=None, logs=None)[source]

Bases: airflow.exceptions.AirflowException

Raised when a Docker container returns an error.

Parameters

logs (list[str | bytes] | None) – The log output of the failed Docker container

exception airflow.providers.docker.exceptions.DockerContainerFailedSkipException(message=None, logs=None)[source]

Bases: airflow.exceptions.AirflowSkipException

Raised when a Docker container returns an error and task should be skipped.

Parameters

logs (list[str | bytes] | None) – The log output of the failed Docker container

Was this entry helpful?