Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Describe workaround for recent Docker Desktop mishap #27354

Conversation

potiuk
Copy link
Member

@potiuk potiuk commented Oct 28, 2022

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: #27217


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

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#27217
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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`remove it <https://github.com/docker/for-mac/issues/6529#issuecomment-1292135881i>`_ in the
`add it back <https://github.com/docker/for-mac/issues/6529#issuecomment-1292135881i>`_ in the

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
next patchlevel, but if you happen to see "docker is not running" when it is, you should not have
next patchlevel. If you happen to see "docker is not running" when it is, you may not have

@potiuk potiuk merged commit 3e71c75 into apache:main Oct 29, 2022
@potiuk potiuk deleted the describe-workaround-for-recent-docker-desktop-mishap branch October 29, 2022 10:27
@potiuk
Copy link
Member Author

potiuk commented Oct 29, 2022

ah .. too fast. missed jed's comments

potiuk added a commit to potiuk/airflow that referenced this pull request Oct 29, 2022
potiuk added a commit that referenced this pull request Oct 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants