airflow.providers.docker.hooks.docker

Module Contents

class airflow.providers.docker.hooks.docker.DockerHook(docker_conn_id: str = default_conn_name, base_url: Optional[str] = None, version: Optional[str] = None, tls: Optional[str] = None)[source]

Bases: airflow.hooks.base.BaseHook, airflow.utils.log.logging_mixin.LoggingMixin

Interact with a Docker Daemon or Registry.

Parameters

docker_conn_id (str) -- The Docker connection id where credentials and extra configuration are stored

conn_name_attr = docker_conn_id[source]
default_conn_name = docker_default[source]
conn_type = docker[source]
hook_name = Docker[source]
static get_ui_field_behaviour()[source]

Returns custom field behaviour

get_conn(self)[source]

Was this entry helpful?