You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bringing a container up using a combination of the --force-recreate and --no-deps flags consistently leads to "no such service" errors for dependent services of the target service.
This works without problems with 2.4.1 but not in 2.5.0.
Steps to reproduce the issue:
docker compose up -d --force-recreate --no-deps SOME_SERVICE
Describe the results you received:
"no such service: some-dependent-service"
Describe the results you expected:
Container to be recreated and started without errors
Additional information you deem important (e.g. issue happens only occasionally):
Issue happens consistently with 2.5.0 but doesn't happen with 2.4.1.
Output of docker compose version:
Docker Compose version v2.4.1
fho, liangwp, nicksieger and nicks
Metadata
Metadata
Assignees
No one assigned
Labels
No labels
No labels
Type
No type
Projects
No projects
Milestone
No milestone
Relationships
None yet
Development
No branches or pull requests
Issue actions
You can’t perform that action at this time.
✕
Wait! Don't Go Yet 🚀
Get our FREE eBook "10 Programming Tips That Changed Everything" when you subscribe!