kqlski opened a new issue, #34283:
URL: https://github.com/apache/airflow/issues/34283

   ### Description
   
   This issue should be resolved by simply adding `ulimits` parameter to 
`DockerOperator` that is directly passed to 
[`create_host_config`](https://docker-py.readthedocs.io/en/stable/api.html#docker.api.container.ContainerApiMixin.create_host_config).
   
   ### Use case/motivation
   
   Currently applying custom `ulimits` is not possible with `DockerOperator`, 
making it necessary to do some hacky entrypoint workarounds instead.
   
   By implementing this feature, one should be able to set Ulimits directly by 
giving a list of 
[`Ulimit`](https://docker-py.readthedocs.io/en/stable/api.html#docker.types.Ulimit)-instances
 to `DockerOperator`.
   
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to