blob: 1ed3fb24bb6f04746cb5078b977a19b43ebeebf4 [file] [log] [blame]
:mod:`airflow.providers.docker.hooks.docker`
============================================
.. py:module:: airflow.providers.docker.hooks.docker
Module Contents
---------------
.. py:class:: DockerHook(docker_conn_id: str = default_conn_name, base_url: Optional[str] = None, version: Optional[str] = None, tls: Optional[str] = None)
Bases: :class:`airflow.hooks.base.BaseHook`, :class:`airflow.utils.log.logging_mixin.LoggingMixin`
Interact with a Docker Daemon or Registry.
:param docker_conn_id: ID of the Airflow connection where
credentials and extra configuration are stored
:type docker_conn_id: str
.. attribute:: conn_name_attr
:annotation: = docker_conn_id
.. attribute:: default_conn_name
:annotation: = docker_default
.. attribute:: conn_type
:annotation: = docker
.. attribute:: hook_name
:annotation: = Docker
.. staticmethod:: get_ui_field_behaviour()
Returns custom field behaviour
.. method:: get_conn(self)
.. method:: __login(self, client)