Language features for Dockerfiles, Compose, and Bake files
mainThe Docker Language Server provides specialized features for the following file types:
Dockerfile
- Hover support for images (showing vulnerability info from Docker Scout).
- Suggested image tag updates from Docker Scout.
- Linting support via BuildKit and Buildx.
Compose files
- Code completion and navigation.
- Document outline support.
- Error reporting and formatting.
- Highlighting named references (services, networks, volumes, configs, secrets).
- Hover tooltips and inlay hints for overridden attribute values.
- Open links to images.
- Rename preparation and renaming of named references.
Bake files
- Code completion and navigation.
- Document outline support.
- Error reporting and formatting.
- Hover tooltips.
- Inferring variable values.