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
When running docker compose watch <service> it ignores every depends_on definition and just starts all services defined in the compose file.
Expectation would be, that it would not start services, that are not defined in the depends_on section.
The interesting thing is, if i run docker compose up --watch servicec it uses the depends_on definition and does not start unnecessary services.
docker compose watch <SERVICE> select the service to enable watch mode, it does not control the application lifecycle
Better use docker compose up --watch <SERVICE> for what you are expecting here
Activity
ndeloof commentedon May 15, 2024
docker compose watch <SERVICE>select the service to enable watch mode, it does not control the application lifecycleBetter use
docker compose up --watch <SERVICE>for what you are expecting here