Windows setup: cliPluginsExtraDirs still makes Kiri's compose replace Docker Desktop's for every context

Open Beginner friendly
#1,138 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
75/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
docker, rust
Domain
devtools

Research direction

Start with repair_windows_config in crates/kiri/src/dockerctx.rs and compare the Windows setup behavior with the macOS fix in issue #1054. Check how cliPluginsExtraDirs is ordered and how Kiri decides whether its entry is already present. Done means setup preserves Docker Desktop's Compose plugin for the desktop-linux context while keeping Kiri's plugin available.

Written by the indexing model from the issue text.

Description

Kiri version and system

Kiri 0.3.0, Windows 11 (build 26300), WSL 2, Docker Desktop 4.101.0 installed side by side.

What you did

Let Kiri's setup run while Docker Desktop is installed.

What happened

Setup added Kiri's plugin directory to cliPluginsExtraDirs in ~/.docker/config.json. The Docker CLI searches that directory first, so docker compose in the desktop-linux context changed from Docker Desktop's version to Kiri's (v5.8.0). Removing the entry does not last: Kiri adds it back.

What you expected instead

The same as the macOS fix in #1054: other engines keep their own plugins.

Anything else

This is the Windows follow-up mentioned in #1042. On main (6d0c7a5) repair_windows_config in crates/kiri/src/dockerctx.rs still pushes the directory.

Workaround: list C:\Program Files\Docker\cli-plugins first in cliPluginsExtraDirs. Kiri only checks that its own entry is present, so it leaves the order alone.

Dominant language
Rust
Stars
7.5k
Forks
329
Avg merge
8h 54m
Merged PRs (30d)
426

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from libracoder/kiri

All issues in libracoder/kiri

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.