You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/10/26 07:56:52 UTC

[GitHub] [airflow] AndreGodinho7 opened a new issue, #27290: Publish a container's port(s) to the host with DockerOperator

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

   ### Description
   
   [`create_container` method](https://github.com/docker/docker-py/blob/bc0a5fbacd7617fd338d121adca61600fc70d221/docker/api/container.py#L370) has a `ports` to open inside the container, and the `host_config` to [declare port bindings](https://github.com/docker/docker-py/blob/bc0a5fbacd7617fd338d121adca61600fc70d221/docker/api/container.py#L542). 
   
   We can learn from [Expose port using DockerOperator](https://stackoverflow.com/questions/65157416/expose-port-using-dockeroperator) for this feature on DockerOperator. 
   
   ### Use case/motivation
   
   I would like to publish the container's port(s) that is created with DockerOperator to the host. 
   
   ### 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: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] boring-cyborg[bot] commented on issue #27290: Publish a container's port(s) to the host with DockerOperator

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #27290:
URL: https://github.com/apache/airflow/issues/27290#issuecomment-1291642836

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] Bowrna commented on issue #27290: Publish a container's port(s) to the host with DockerOperator

Posted by "Bowrna (via GitHub)" <gi...@apache.org>.
Bowrna commented on issue #27290:
URL: https://github.com/apache/airflow/issues/27290#issuecomment-1479062647

   @1995parham @eladkal i have been working on this issue and forgot to update here. i hope i will complete this weekend.
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] Bowrna commented on issue #27290: Publish a container's port(s) to the host with DockerOperator

Posted by "Bowrna (via GitHub)" <gi...@apache.org>.
Bowrna commented on issue #27290:
URL: https://github.com/apache/airflow/issues/27290#issuecomment-1506713389

   i will commit the changes done by this weekend and close it. Sorry for the delay in my end. 


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] potiuk closed issue #27290: Publish a container's port(s) to the host with DockerOperator

Posted by "potiuk (via GitHub)" <gi...@apache.org>.
potiuk closed issue #27290: Publish a container's port(s) to the host with DockerOperator
URL: https://github.com/apache/airflow/issues/27290


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] eladkal commented on issue #27290: Publish a container's port(s) to the host with DockerOperator

Posted by "eladkal (via GitHub)" <gi...@apache.org>.
eladkal commented on issue #27290:
URL: https://github.com/apache/airflow/issues/27290#issuecomment-1419231820

   @AndreGodinho7 will you open a PR?


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] 1995parham commented on issue #27290: Publish a container's port(s) to the host with DockerOperator

Posted by "1995parham (via GitHub)" <gi...@apache.org>.
1995parham commented on issue #27290:
URL: https://github.com/apache/airflow/issues/27290#issuecomment-1479043969

   Dear @eladkal, we can work on this if the issue is still unassign.


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] eladkal commented on issue #27290: Publish a container's port(s) to the host with DockerOperator

Posted by GitBox <gi...@apache.org>.
eladkal commented on issue #27290:
URL: https://github.com/apache/airflow/issues/27290#issuecomment-1291903454

   If you have a code suggestion you can always open a PR now need to submit issue first.
   Assigned this issue to you


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [airflow] 1995parham commented on issue #27290: Publish a container's port(s) to the host with DockerOperator

Posted by "1995parham (via GitHub)" <gi...@apache.org>.
1995parham commented on issue #27290:
URL: https://github.com/apache/airflow/issues/27290#issuecomment-1479079997

   Great :raised_hands: 


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org