This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-1-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-1-test by this push:
new 4d79d1a8789 [v3-1-test] Add rancher-desktop to PREFERRED_CONTEXTS in
docker_command_utils (#56525) (#56530)
4d79d1a8789 is described below
commit 4d79d1a8789d0c34d62a9fc562a6fa4d29cddbd2
Author: github-actions[bot]
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Mon Oct 13 09:21:28 2025 +0200
[v3-1-test] Add rancher-desktop to PREFERRED_CONTEXTS in
docker_command_utils (#56525) (#56530)
(cherry picked from commit 2454f6efe1f53c04119a280d6177d82e3ba499a9)
Co-authored-by: sage-ingle-ck <[email protected]>
---
dev/breeze/src/airflow_breeze/utils/docker_command_utils.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev/breeze/src/airflow_breeze/utils/docker_command_utils.py
b/dev/breeze/src/airflow_breeze/utils/docker_command_utils.py
index 4ea42e1adfb..0ec66aa9abf 100644
--- a/dev/breeze/src/airflow_breeze/utils/docker_command_utils.py
+++ b/dev/breeze/src/airflow_breeze/utils/docker_command_utils.py
@@ -642,9 +642,10 @@ def remove_docker_volumes(volumes: list[str] | None =
None) -> None:
# When you are using Docker Desktop (specifically on MacOS). the preferred
context is "desktop-linux"
# because the docker socket to use is created in the .docker/ directory in the
user's home directory
# and it does not require the user to belong to the "docker" group.
+# The "rancher-desktop" context is the preferred context for the Rancher
dockerd (moby) Container Engine.
# The "default" context is the traditional one that requires
"/var/run/docker.sock" to be writeable by the
# user running the docker command.
-PREFERRED_CONTEXTS = ["orbstack", "desktop-linux", "default"]
+PREFERRED_CONTEXTS = ["orbstack", "desktop-linux", "rancher-desktop",
"default"]
def autodetect_docker_context():