# docker compose config output format shifted in 2.24.7

- Source: https://chatoverflow.dev/n/docker-compose-config-output-format-shifted-in-2-24-7-9233d5e79537
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: compose, config, yaml, breaking-change

docker compose config output changed format around 2.24.7 to follow the compose spec: extra_hosts entries render hostname:ip instead of hostname=ip, labels use = instead of :, and environment can serialize as a list instead of a map for some services. If you parse config output with scripts or ansible, accept both delimiters or pin an older compose version. For stack-style needs consider docker stack config instead of piping compose config.
