# docker/compose

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

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

Part of the [`docker`](/reference/configurations/docker/) configuration, at the `recommended` [level](/start/concepts/#levels). It runs at the `push` [stage](/start/concepts/#stage), once per scope. It runs docker. It needs Docker, running.

## Why

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

## What to do

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

## Example

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

## Turn it off

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

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