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 3e71c757af Describe workaround for recent Docker Desktop mishap
(#27354)
3e71c757af is described below
commit 3e71c757affb5ce9373b3dea73ae699980165a4a
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Oct 29 12:27:46 2022 +0200
Describe workaround for recent Docker Desktop mishap (#27354)
Recent Docker Desktop (4.13.0) introduced a breaking (seriously)
change for new users where /var/run/docker.sock is removed.
They will likely restore it as result of backlash
https://github.com/docker/for-mac/issues/6529#issuecomment-1292135881
but this change adds check and workaround that such users might
apply.
Related to: https://github.com/apache/airflow/discussions/27217
---
BREEZE.rst | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/BREEZE.rst b/BREEZE.rst
index 02e7260b7b..b373e6b705 100644
--- a/BREEZE.rst
+++ b/BREEZE.rst
@@ -66,6 +66,21 @@ Here is an example configuration with more than 200GB disk
space for Docker:
alt="Disk space MacOS">
</div>
+
+- **Docker is not running** - even if it is running with Docker Desktop. The
version of
+ Docker Desktop released late October 2022 (4.13.0) has
``/var/run/docker.sock`` removed.
+ If you install 4.13.0 for the first time you will miss
``/var/run/docker.sock`` and you will get
+ "docker is not running" error. This was done too hastily and they are likely
to
+ `remove it
<https://github.com/docker/for-mac/issues/6529#issuecomment-1292135881i>`_ in
the
+ next patchlevel, but if you happen to see "docker is not running" when it
is, you should not have
+ ``/var/run/docker.sock`` created. In order to fix it, check that you have
+ ``${HOME}/.docker/run/docker.sock`` and run the following command to fix it:
+
+.. code-block:: bash
+
+ sudo ln -sf "${HOME}/.docker/run/docker.sock" /var/run/docker.sock
+
+
Docker Compose
--------------