DockerHook

Docker

Interact with a Docker Daemon and Container Registry.

View on GitHub

Last Updated: Apr. 14, 2023

Access Instructions

Install the Docker provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

docker_conn_idDocker connection id where stored credentials to Docker Registry. If set to None or empty then hook does not login to Container Registry.
base_urlURL to the Docker server.
versionThe version of the API to use. Use auto or None for automatically detect the server’s version.
tlsIs connection required TLS, for enable pass True for use with default options, or pass a docker.tls.TLSConfig object to use custom configurations.
timeoutDefault timeout for API calls, in seconds.

Documentation

Interact with a Docker Daemon and Container Registry.

This class provide a thin wrapper around the docker.APIClient.

Was this page helpful?