macOS
brew install docker-language-serverlocal Homebrew formula metadata
安装
brew install docker-language-serverlocal Homebrew formula metadata
nix profile install nixpkgs#docker-language-servernixpkgs package indexes · pkgs/by-name/do/docker-language-server/package.nix · 来源: api.github.com
概览
Language server for Dockerfiles, Compose files, and Bake files
历史
Docker Language Server is Docker's LSP server for Dockerfiles, Compose files, and Bake files. It moves Docker authoring features into editors through the Language Server Protocol.
The README describes the project as a language server for the Docker ecosystem, covering Dockerfiles, Compose files, and Bake files. It depends on Buildx for some features and exposes diagnostics, hover, completion, code navigation, formatting, document links, inlay hints, and related editor behaviors.
The public tag history starts with v0.1.0 in March 2025, and the changelog shows rapid feature work through 2025. Early releases added Compose and Bake editing features, Dockerfile linting and image intelligence, Docker Hub suggestions, WSL URI fixes, schema updates, and release automation.
The project is young, but its adoption path is official: the README says Docker maintains the Docker DX Visual Studio Code extension as a supported client, and CLIENTS.md documents use with any LSP-capable editor plus JetBrains through LSP4IJ. Homebrew and Nix packaging make it available outside VS Code-centric distribution.
Users run docker-language-server start over stdio or TCP and connect it to an editor. The server provides Dockerfile, Compose, and Bake language features, with optional initialization settings for telemetry, Compose support, Dockerfile diagnostic overlap handling, and experimental Bake code-lens capabilities.
This package is significant because Docker authoring moved from syntax highlighting into an official language-server binary. For package nerds, it is a compact example of modern CLI packaging: an editor-facing Go executable that pulls together Dockerfile syntax, Compose schemas, Bake, Buildx, BuildKit, Docker Scout, telemetry settings, and cross-editor LSP conventions.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
docker-language-server | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/docker/docker-language-server
安装元数据
| 软件包键 | brew:docker-language-server |
|---|---|
| 版本 | 0.20.1 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/docker-language-server |
| 主页 | https://www.docker.com |
| 仓库 | https://github.com/docker/docker-language-server |
| 上游文档 | https://github.com/docker/docker-language-server#readme |
| 许可证 | Apache-2.0 |
| 源码归档 | https://github.com/docker/docker-language-server/archive/refs/tags/v0.20.1.tar.gz |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | docker-language-server |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
docker-language-server
nix profile install nixpkgs#docker-language-server来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.