TALBIYA-PARVEEN opened a new pull request, #65732:
URL: https://github.com/apache/airflow/pull/65732

   What does this PR do?
   
   Adds is_docker_available() to 
dev/breeze/src/airflow_breeze/utils/docker_command_utils.py.
   
   The existing check_docker_is_running() prints console output and calls 
sys.exit(1) on failure, making it unsuitable as a silent boolean guard.
   
   The new helper returns True/False without side effects, following the same 
pattern as is_docker_rootless().
   
   Handles three cases:
   
   * Docker running → True
   * Docker installed but not running → False
   * Docker not installed → False (via FileNotFoundError)
   
   Was generative AI tooling used to co-author this PR?
   
   * [ ] Yes
   
   Checklist
   
   * No newsfragment needed (internal Breeze utility, not user-facing)
   * No docs update needed


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