1
0
mirror of https://github.com/docker/docs.git synced 2026-10-23 18:09:02 +03:00
Files
plowward a5b2e86eea docs(compose): fix indentation in Step 6 infra.yaml example (#25985)
The `infra.yaml` code block under Step 6 (Structure your project with
multiple Compose files) was nested inside an ordered list, which left
stray leading whitespace on `services:` and `volumes:`. When users
copy-paste the example verbatim, `docker compose` fails with:

go-yaml load error in parser at L13.C1: did not find expected <document
start>

This change aligns the YAML with the standard 0/2/4-space indent used
elsewhere in the tutorial, and also normalizes the leading whitespace of
the surrounding code fence.

<!--Delete sections as needed -->

## Description

<!-- Tell us what you did and why -->

## Related issues or tickets

<!-- Related issues, pull requests, or Jira tickets -->

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review
2026-09-01 09:53:27 +01:00
..
2026-08-19 07:22:54 -05:00
2026-05-28 14:39:44 +01:00
2026-05-28 14:39:44 +01:00
2026-05-28 14:39:44 +01:00
2026-04-02 14:15:42 +01:00