This repository was archived by the owner on Nov 27, 2023. It is now read-only.

Description
Docker Desktop quietly updated me to Compose v2 (v2.0.0-rc.1 specifically), and now I'm getting this error message when I run most any docker-compose command (e.g. docker-compose top) for a complicated project:
service "extensions" has neither an image nor a build context specified: invalid compose project
I'm guessing v2 doesn't like something in my compose files, but as best I can tell I don't have a service named "extensions" so this error message is not very helpful. I saw another issue (https://github.com/docker/compose-cli/issues/1968) related to empty strings and quotes that referenced a similar error message, but it appeared in that case the service mentioned in the error message was a real service from the person's docker-compose file.
I do also get a number of warnings about a variable that is not set, but these warnings occurred (and didn't cause issues) in v1.
WARN[0000] The "REDACTED" variable is not set. Defaulting to a blank string.