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
Can't include all the files I'm using (way too many) but in short, I'm extending a docker compose file from another one, and within the base compose file (the one being extended) I misindented the code, putting accidentally the service name on the same level as the service base element. Also using volumes, multiple env files on command call, multiple env files in compose, interpolation, image name forced, container name forced, build args, context and custom dockerfile name (using interpolation in most keys).
Once indenting normally as Compose intends to find it (services > service-name), everything was fine again.
Expected to find the same regular error that Compose throws, like "root element service-name not allowed" or any other relevant one.
Hope it helps...
Env:
Windows PS from PHPStorm 2023
Docker Desktop on Win 11 / x64 v4.33
Docker Compose version v2.29.1-desktop.1
The text was updated successfully, but these errors were encountered:
Hi, I just had a weird crash (took me some time to figure it out ^^).
Stack trace:
Can't include all the files I'm using (way too many) but in short, I'm extending a docker compose file from another one, and within the base compose file (the one being extended) I misindented the code, putting accidentally the service name on the same level as the
service
base element. Also using volumes, multiple env files on command call, multiple env files in compose, interpolation, image name forced, container name forced, build args, context and custom dockerfile name (using interpolation in most keys).Once indenting normally as Compose intends to find it (
services
>service-name
), everything was fine again.Expected to find the same regular error that Compose throws, like "root element service-name not allowed" or any other relevant one.
Hope it helps...
Env:
Windows PS from PHPStorm 2023
Docker Desktop on Win 11 / x64 v4.33
Docker Compose version v2.29.1-desktop.1
The text was updated successfully, but these errors were encountered: