Skip to content

[BUG] 'docker compose build --dry-run' actually builds the image #13040

@felixfontein

Description

@felixfontein

Description

The --dry-run option to docker compose build seems to have no effect. The image is built despite this being passed.

(The image is also built when running docker compose up --dry-run.)

Steps To Reproduce

Run docker compose build --dry-run in a project that needs to build an image.

Compose Version

2.38.2

Docker Environment


Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions