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
I understand the watch feature is still very much experimental and being worked on, however I wanted to get a feel on how I could leverage it in the future.
I have a big docker compose project (100+ containers) some of them with build context, some of them without.
No matter how I run the docker compose alpha watch command I always get the error:
can't watch a service without a build section
I get this message even when the target service has a build section, I can only guess it's complaining about the dependencies of said service, which feels like a bug.
Would it be possible and make sense to ignore/skip services which do not have a build section instead of erroring out?
Steps To Reproduce
Project too big to share and I didn't have the time to isolate the problem, sorry 😶
I can try to get a reproduction scenario up once I have the time, but I'm assuming this bug report should be fairly obvious to @ndeloof without further information here :)
You should run docker compose alpha watch SERVICES... with the service(s) you are currently developing.
But I agree, for convenience, services with no build section should just be ignored until explicitly selected by user. Same for service dependencies.
I still get the same error, even when invoking with a specific service name which contains a build section. That service does however depends on other services which do not have a build section, so I assume the error occurs due to dependency resolving.
Description
I understand the watch feature is still very much experimental and being worked on, however I wanted to get a feel on how I could leverage it in the future.
I have a big docker compose project (100+ containers) some of them with build context, some of them without.
No matter how I run the
docker compose alpha watch
command I always get the error:I get this message even when the target service has a build section, I can only guess it's complaining about the dependencies of said service, which feels like a bug.
Would it be possible and make sense to ignore/skip services which do not have a build section instead of erroring out?
Steps To Reproduce
Project too big to share and I didn't have the time to isolate the problem, sorry 😶
I can try to get a reproduction scenario up once I have the time, but I'm assuming this bug report should be fairly obvious to @ndeloof without further information here :)
Compose Version
Docker Environment
Anything else?
No response
The text was updated successfully, but these errors were encountered: