Skip to content

docker/compose

Parses every Compose file with docker compose config, which needs no running daemon.

Part of the docker configuration, at the recommended level. It runs at the push stage, once per scope. It runs docker. It needs Docker, running.

Valid YAML can still hold a key that Compose rejects, and otherwise the first sign comes during a deploy.

Read the message Compose prints; it names the key and the service.

A Compose service with the unknown key bogus fails to parse. Remove the key, or use a supported one.

Turn it off for some files, or one of its lint rules, with a reason:

gspot ignore docker/compose --paths "<glob>" --reason "<why>"
gspot ignore docker/compose --rule <rule> --reason "<why>"