Windows setup: cliPluginsExtraDirs still makes Kiri's compose replace Docker Desktop's for every context
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 75/100
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from libracoder/kiri
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
libracoder/kiri#1143 ·
Maintainers usually reply within 1 day
-
VM can go to sleep as idle during a long /containers/create (first run of a large image): "the VM stopped"Possibly taken @takealook97 claimed this today. Open
Difficulty 3/5 1-2 days Newbie friendliness 30/100
libracoder/kiri#1140 ·
Maintainers usually reply within 1 day
-
Windows: `kiri storage reclaim` does nothing and reports "Native Linux"Possibly taken @takealook97 claimed this today. Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
libracoder/kiri#1139 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 58/100
libracoder/kiri#1137 ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
libracoder/kiri#1136 ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
foundry-rs/starknet-foundry#4733 ·
Maintainers usually reply within 4 days
-
autofix:working
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
roc-lang/basic-webserver#277 ·
Maintainers usually reply within 1 day