This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 9a35a40c59 Add information about socket enabling in Docker Desktop
(#32115)
9a35a40c59 is described below
commit 9a35a40c59c0ebd146683c317c2f208ac5e7398c
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Jun 24 11:22:21 2023 +0200
Add information about socket enabling in Docker Desktop (#32115)
The new docker desktop has an explicit configuration to enable
docker socket. We are using it for multiple things - not only to
get docker commands to run but also to forward docker socket to
inside the containers (docker-in-docker), also kind uses it
internally, so having the socket enabled is prerequisite for
Breeze.
---
BREEZE.rst | 10 ++++++++--
images/docker_socket.png | Bin 0 -> 380878 bytes
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/BREEZE.rst b/BREEZE.rst
index 129dcc14e6..469d70018b 100644
--- a/BREEZE.rst
+++ b/BREEZE.rst
@@ -84,8 +84,14 @@ Here is an example configuration with more than 200GB disk
space for Docker:
- ``newgrp docker``
- 4. Check if docker can be run without root
- ``docker run hello-world``
-|
-|
+- 5. Make sure that "Allow the default Docker socket to be used" in "Advanced"
tab of "Docker Desktop" settings is checked
+
+.. raw:: html
+
+ <div align="center">
+ <img src="images/docker_socket.png" width="640"
+ alt="Docker socket used">
+ </div>
Note: If you use Colima, please follow instructions at: `Contributors Quick
Start Guide <https://github.com/apache/airflow/blob/main
/CONTRIBUTORS_QUICK_START.rst>`__
diff --git a/images/docker_socket.png b/images/docker_socket.png
new file mode 100644
index 0000000000..830e5001f4
Binary files /dev/null and b/images/docker_socket.png differ