Skip to content

Commit

Permalink
Describe workaround for recent Docker Desktop mishap (#27354)
Browse files Browse the repository at this point in the history
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
docker/for-mac#6529 (comment)
but this change adds check and workaround that such users might
apply.

Related to: apache/airflow#27217

GitOrigin-RevId: 3e71c757affb5ce9373b3dea73ae699980165a4a
  • Loading branch information
potiuk authored and Cloud Composer Team committed Mar 30, 2023
1 parent 5fb0f06 commit b1bd4e1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions BREEZE.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------------

Expand Down

0 comments on commit b1bd4e1

Please sign in to comment.