# docker-language-server を Homebrew, Nix でインストール

docker-language-server のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:docker-language-server
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install docker-language-server
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#docker-language-server
```

  証拠: nixpkgs package indexes: pkgs/by-name/do/docker-language-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:docker-language-server
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.20.1
- **ソース概要:** Language server for Dockerfiles, Compose files, and Bake files
- **ホームページ:** <https://www.docker.com>
- **リポジトリ:** <https://github.com/docker/docker-language-server>
- **最終更新:** 2026-07-28T14:10:40+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- docker-language-server (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.20.1
## プロジェクトの歴史と使われ方

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.

### タイムライン

- 2025: v0.1.0 is tagged as the first public release line.
- 2025: v0.5.0-v0.10.x releases add rapid Compose, Dockerfile, and Bake language features.
- 2025: v0.17.0 adds Dockerfile inlay hints for image push age and Docker Hub image-tag suggestions for Compose.
- 2025: v0.20.1 is documented in the changelog with Bake schema fixes.
- 2026: the package appears in Homebrew and Nix metadata.

### Related projects

- Related projects include Docker DX for Visual Studio Code, the Language Server Protocol, Dockerfile reference documentation, Compose specification, Docker Bake, Buildx, BuildKit, Docker Scout, rcjsuen/dockerfile-language-server, tliron/glsp, and LSP4IJ.

### ソース

- <https://github.com/docker/docker-language-server#readme>
- <https://github.com/docker/docker-language-server/blob/main/CHANGELOG.md>
- <https://github.com/docker/docker-language-server/blob/main/CLIENTS.md>
- <https://github.com/docker/docker-language-server/releases>
- <https://github.com/docker/docker-language-server/tags>


## セキュリティノート

broad file, network, media, or database tool signal.

- **Geiger リスク:** blue / 中
- broad file, network, media, or database tool signal

## 他のパッケージマネージャ記録

- Nix - docker-language-server: normalized package name match | nixpkgs package indexes: pkgs/by-name/do/docker-language-server/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/docker-language-server.yml](https://github.com/mxcl/pkgdb/blob/main/combined/docker-language-server.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
