![]() ![]() Optional (templated)Ĭpus ( float) – Number of CPUs to assign to the container. (templated)Ĭontainer_name ( str or None) – Name of the container. Set to auto to automaticallyĪuto_remove ( bool) – Auto-removal of the container on daemon side when theĬommand ( str or list) – Command to be run in the container. If image tag is omitted, “latest” will be used.Īpi_version ( str) – Remote API version. Image ( str) – Docker image from which to create the container. ![]() If a login to a private registry is required prior to pulling the image, aĭocker connection needs to be configured in Airflow and the connection IDīe provided with the parameter docker_conn_id. Via the environment variable AIRFLOW_TMP_DIR. The path to the mounted directory can be accessed That together exceed the default disk size of 10GB in a container. Mounted into a container to allow storing files DockerOperator ( image, api_version=None, command=None, container_name=None, cpus=1.0, docker_url='unix://var/run/docker.sock', environment=None, force_pull=False, mem_limit=None, host_tmp_dir=None, network_mode=None, tls_ca_cert=None, tls_client_cert=None, tls_client_key=None, tls_hostname=None, tls_ssl_version=None, tmp_dir='/tmp/airflow', user=None, volumes=None, working_dir=None, xcom_push=False, xcom_all=False, docker_conn_id=None, dns=None, dns_search=None, auto_remove=False, shm_size=None, tty=False, *args, **kwargs ) ¶Įxecute a command inside a docker container.Ī temporary directory is created on the host and ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |