airflow.hooks.docker_hook

Module Contents

class airflow.hooks.docker_hook.DockerHook(docker_conn_id='docker_default', base_url=None, version=None, tls=None)[source]

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

Interact with a private Docker registry.

Parameters

docker_conn_id (str) – ID of the Airflow connection where credentials and extra configuration are stored

get_conn(self)[source]
__login(self, client)[source]