Skip to content

Fix Docker error guidance for GitHub Codespaces - #62580

Merged
potiuk merged 1 commit into
mainfrom
fix-docker-not-running-codespaces
Feb 28, 2026
Merged

potiuk merged 1 commit into
mainfrom
fix-docker-not-running-codespaces

Conversation

@potiuk

@potiuk potiuk commented Feb 27, 2026

Copy link
Copy Markdown
Member

Summary

  • Show Docker's stderr when docker info fails in Breeze (previously suppressed), so users see the actual error.
  • Detect the CODESPACES environment variable and print targeted troubleshooting steps (check socket, permissions, rebuild container).
  • Add a Docker verification step to the beginner quick-start guide before running breeze start-airflow.
  • Add a "Troubleshooting Docker in Codespaces" section to the Codespaces setup guide.

Closes: #62405

Was generative AI tooling used to co-author this PR?
  • Yes — Claude Code (Claude Opus 4.6)

Generated-by: Claude Code (Claude Opus 4.6) following the guidelines

@potiuk

potiuk commented Feb 27, 2026

Copy link
Copy Markdown
Member Author

cc: @TopCoder2K - please test and suggest improvements - looking forward to you confirmign that it solves the problem (or more suggestions to improve) as you had experienced problem.

When running Breeze in a GitHub Codespace, the generic "Docker is not
running" error gave no Codespace-specific troubleshooting hints. This
change:

- Adds feature in devcontainers to enable docker-in-docker
- Shows Docker's stderr output when `docker info` fails (previously
  suppressed) so users can see the actual error.
- Detects the CODESPACES environment variable and prints targeted
  troubleshooting steps (check socket, permissions, rebuild container).
- Adds a Docker verification step to the beginner quick-start guide.
- Adds a troubleshooting section to the Codespaces setup guide.

Closes: #62405

Co-Authored-By: Claude Opus 4.6 <[email protected]>
@potiuk
potiuk force-pushed the fix-docker-not-running-codespaces branch from 34d1bbe to 97d3843 Compare February 28, 2026 19:49
@potiuk

potiuk commented Feb 28, 2026

Copy link
Copy Markdown
Member Author

Testing the changes require merging and building the CI image. Merging now.

@potiuk
potiuk merged commit 2525023 into main Feb 28, 2026
123 checks passed
@potiuk
potiuk deleted the fix-docker-not-running-codespaces branch February 28, 2026 20:48
@github-actions

Copy link
Copy Markdown
Contributor

Backport failed to create: v3-1-test. View the failure log Run details

Note: As of Merging PRs targeted for Airflow 3.X
the committer who merges the PR is responsible for backporting the PRs that are bug fixes (generally speaking) to the maintenance branches.

In matter of doubt please ask in #release-management Slack channel.

Status Branch Result
❌ v3-1-test Commit Link

You can attempt to backport this manually by running:

cherry_picker 2525023 v3-1-test

This should apply the commit to the v3-1-test branch and leave the commit in conflict state marking
the files that need manual conflict resolution.

After you have resolved the conflicts, you can continue the backport process by running:

cherry_picker --continue

If you don't have cherry-picker installed, see the installation guide.

dominikhei pushed a commit to dominikhei/airflow that referenced this pull request Mar 11, 2026
…che#62580)

When running Breeze in a GitHub Codespace, the generic "Docker is not
running" error gave no Codespace-specific troubleshooting hints. This
change:

- Adds feature in devcontainers to enable docker-in-docker
- Shows Docker's stderr output when `docker info` fails (previously
  suppressed) so users can see the actual error.
- Detects the CODESPACES environment variable and prints targeted
  troubleshooting steps (check socket, permissions, rebuild container).
- Adds a Docker verification step to the beginner quick-start guide.
- Adds a troubleshooting section to the Codespaces setup guide.

Closes: apache#62405

Co-authored-by: Claude Opus 4.6 <[email protected]>
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.

The "docker is not running" error when using a GitHub codespace

3 participants