Description
v2.19.0 introduced a change that broke a docker compose run command that was working previously (v2.18.1)
The change, I believe, would have come from this PR: #10602
docker compose -p unique_name run --rm --no-deps test black --line-length 150 --check app/ tests/
Error: service postgres is required by test but is disabled. Can be enabled by profiles []
I believe this is roughly all that would be required to reproduce, but I haven't directly tested this as docker mac hasn't updated docker compose yet:
version: "3"
services:
test:
profiles:
- test
build:
context: .
depends_on:
postgres
postgres:
image: postgres:14-alpine
Steps To Reproduce
No response
Compose Version
Docker Environment
No response
Anything else?
No response
Description
v2.19.0 introduced a change that broke a docker compose run command that was working previously (v2.18.1)
The change, I believe, would have come from this PR: #10602
docker compose -p unique_name run --rm --no-deps test black --line-length 150 --check app/ tests/Error:
service postgres is required by test but is disabled. Can be enabled by profiles []I believe this is roughly all that would be required to reproduce, but I haven't directly tested this as docker mac hasn't updated docker compose yet:
Steps To Reproduce
No response
Compose Version
Docker Environment
No response
Anything else?
No response