Docker Config Suite
Analyze Dockerfiles and Docker Compose files, detect versions, and receive best practice recommendations.
What is Docker Config Suite?
Docker Config Suite gives text-based review hints for a Dockerfile, a Compose file or both. It reports the first FROM line and selected command patterns, then looks for Compose keywords such as services, ports, volumes and restart. Unlike the separate Compose Validator, this suite does not parse YAML.
How to use Docker Config Suite
Select Analyze Dockerfile Only and paste FROM node:latest. Choose Analyze Docker Config. Expect the base-image line, a :latest warning and a missing CMD or ENTRYPOINT reminder. Changing the tag removes that one warning; adding a startup instruction can remove the reminder. An inherited base-image command can also be intentional.
When is Docker Config Suite useful?
Select Analyze Docker Compose Only and paste services: {web: {image: "nginx:alpine", ports: ["8080:80"]}}. The output should detect services and ports, mention the absent version field, and suggest considering a restart policy. The version hint is not a requirement to add an obsolete field. A restart policy depends on how the service should operate, rather than being mandatory for every project.
Example
To inspect both files, select the combined mode and put each file in its own field. The analysis remains independent: it does not compare build paths, image names, networks or mount references between files. Even malformed text such as services: [ can produce “Services detected”, because that statement only confirms a keyword match.
Practical notes
Comments can trigger keyword matches; multiple build stages and continued instructions are not fully understood. These reminders do not establish valid syntax, reproducible builds, image safety or correct container startup. Use the separate Compose Validator for preliminary YAML parsing and Docker’s project tooling for the resolved configuration. Nothing is built, pulled or executed; pasted text stays local. Reference: Compose version field reference.