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/07/02 09:42:15 UTC

[GitHub] [airflow] alexkruc commented on issue #9190: DockerOperator loosing some initial container output

alexkruc commented on issue #9190:
URL: https://github.com/apache/airflow/issues/9190#issuecomment-1172869924

   I tried to look at this issue, but I can't seem to reproduce it.
   I tried running the (almost) the same code as was presented in the example:
   ```python
     print_hello_world = DockerOperator(
         task_id='print_hello_world',
         image='centos:latest',
         api_version='auto',
         auto_remove=True,
         command='/bin/bash -c \'echo "HELLO WORLD!"\'',
         network_mode='bridge',
         dag=dag,
     )
   ``` 
   But I got the output of the container proper...
   ![image](https://user-images.githubusercontent.com/36231027/176995189-e22a018e-5460-4d53-a8bf-1edc2d72a76e.png)
   Also tried running other tasks, with different containers and commands, and it all worked as expected - the output printed out immediately.
   
   I see that the reported version of this issue was 1.10.10, there were A LOT of changes since then. 
   Can someone reproduce this issue on the most recent versions and share information?
   


-- 
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