mirror of
https://github.com/apache/airflow.git
synced 2026-11-04 07:12:48 +00:00
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 <noreply@anthropic.com>
35 lines
1.3 KiB
JSON
35 lines
1.3 KiB
JSON
{
|
|
"name": "Apache Airflow - postgres",
|
|
"dockerComposeFile": [
|
|
"../../scripts/ci/docker-compose/devcontainer.yml",
|
|
"../../scripts/ci/docker-compose/backend-postgres.yml",
|
|
"../../scripts/ci/docker-compose/devcontainer-postgres.yml"
|
|
],
|
|
"features": {
|
|
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {}
|
|
},
|
|
"settings": {
|
|
"terminal.integrated.defaultProfile.linux": "bash"
|
|
},
|
|
"extensions": [
|
|
"ms-python.python",
|
|
"ms-python.vscode-pylance",
|
|
"mtxr.sqltools",
|
|
"mtxr.sqltools-driver-pg",
|
|
"rogalmic.bash-debug",
|
|
"ms-azuretools.vscode-docker",
|
|
"dbaeumer.vscode-eslint",
|
|
"ecmel.vscode-html-css",
|
|
"timonwong.shellcheck",
|
|
"redhat.vscode-yaml",
|
|
"rogalmic.bash-debug"
|
|
],
|
|
"service": "airflow",
|
|
"forwardPorts": [8080,5555,5432,6379],
|
|
"workspaceFolder": "/opt/airflow",
|
|
// for users who use non-standard git config patterns
|
|
// https://github.com/microsoft/vscode-remote-release/issues/2084#issuecomment-989756268
|
|
"initializeCommand": "cd \"${localWorkspaceFolder}\" && git config --local user.email \"$(git config user.email)\" && git config --local user.name \"$(git config user.name)\"",
|
|
"overrideCommand": true
|
|
}
|