apache / apache/airflow

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

Open
#62,405 18 comments 0 reactions 0 assignees View on GitHub
area:dev-env good first issue kind:bug kind:documentation needs-triage
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 9h
Merged PRs (30d)
472

Description

### What do you see as an issue?

I'm following this guide: https://github.com/apache/airflow/blob/main/contributing-docs/03a_contributors_quick_start_beginners.rst#option-b--one-click-github-codespaces. The forth step ("Install Breeze and start the development container") leads to
```bash
Docker is not running.
Please make sure Docker is installed and running.
```
I think the problem is with the last command (`breeze start-airflow`). I've already checked that `Docker` is installed:
```bash
[Breeze:3.10.19] root@21ae210c1c95:/opt/airflow$ docker --version
Docker version 29.2.1, build a5c7197
[Breeze:3.10.19] root@21ae210c1c95:/opt/airflow$ whereis docker
docker: /usr/bin/docker
[Breeze:3.10.19] root@21ae210c1c95:/opt/airflow$ sudo systemctl status docker
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down
```
It seems like a problem with a user access to `Docker`.

### Solving the problem

_No response_

### Anything else

_No response_

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.