Lint a Compose YAML file for missing services, sources, and common deployment risks.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
The YAML is parsed and checked for top-level services, image or build sources, ports, volumes, environment shapes, and common security or dependency issues. Findings are lint messages rather than full engine schema validation.
services:
web:
image: nginx:latest
ports:
- "80:80"
privileged: true
# docker-compose Validation Services found: web Errors: 0 | Warnings: 2 | Info: 1 ## Warnings - Line 3: Avoid using ':latest' tag for image in service 'web' - Line 6: privileged mode is enabled for 'web'. This is a security risk. ## Info - Line 5: Port 80:80 binds to all interfaces. Consider binding to 127.0.0.1 for local-only access.
Local stacks, integration CI, and multi-container documentation lint compose files.