Skip to content

Check if docker is running for project create command#1154

Open
Tomasz Turkowski (tturkowski) wants to merge 1 commit into
nextfrom
feat/check-if-docker-running-for-project-create
Open

Check if docker is running for project create command#1154
Tomasz Turkowski (tturkowski) wants to merge 1 commit into
nextfrom
feat/check-if-docker-running-for-project-create

Conversation

@tturkowski

@tturkowski Tomasz Turkowski (tturkowski) commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

What was changed?

Currently, the project create command only checks whether Docker is installed on the host machine:

no docker

If Docker is installed but not running, the user sees a raw/unhandled error instead:

no check

The change is about displaying proper message when user selected Docker as environment and does not have Docker installed or running.

Why it was changed?

We want to display to users clear and actionable errors. Additional check was applied and now we cover docker not installed and docker not running cases. Together with this change displayed message was updated to inform only what is missing and how to solve it.

not-installed not-running

How it was tested?

Added TestRenderMissingDependencies that covers Docker not installed and Docker not running. Additionally added test for PHP 8.2+ not installed and Composer not installed cases.

@tturkowski Tomasz Turkowski (tturkowski) force-pushed the feat/check-if-docker-running-for-project-create branch from 6900ae4 to fb6e070 Compare July 3, 2026 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants