The Docker image lets you try KoalaVim instantly or test kv features in an isolated environment -- no local installation required.
Build the image:
docker build -t kv .Launch KoalaVim:
docker run -it --rm kvThat's it. You get a fully working KoalaVim session inside the container.
The image includes:
| Tool | Purpose |
|---|---|
| neovim (stable) | Editor |
| kv | KoalaVim launcher and manager |
| git | Version control, used by kv update |
| curl | Downloads, used by kv install |
| ripgrep (rg) | File content search |
| fd | File finder |
| fzf | Fuzzy finder |
A main env is pre-created from the KoalaConfig.template with plugins pre-installed via lazy.nvim.
Run any kv subcommand by passing it as arguments:
docker run -it --rm kv health # check dependency health
docker run -it --rm kv lockfile diff # diff lockfiles
docker run -it --rm kv install --dry-run # see what install would do
docker run -it --rm kv env list # list environmentsDrop into a shell to explore freely:
docker run -it --rm --entrypoint bash kvFrom there you can run any combination of commands:
kv health
kv lockfile diff
kv update --no-restore
kv install --dry-run
kv env create experiment --from main
kv --env experiment healthTry KoalaVim with your own neovim config:
docker run -it --rm \
-v "$HOME/.config/nvim":/home/koala/.config/kvim-envs/main \
kvEdit files from your host inside the container:
docker run -it --rm \
-v "$(pwd)":/home/koala/project \
kv project/Plugins and data are lost when the container is removed. To persist across runs, mount the data directory:
docker run -it --rm \
-v kv-data:/home/koala/.local/share/kvim-envs \
-v kv-cache:/home/koala/.cache/kvim-envs \
kvThe Dockerfile supports both x86_64 (amd64) and aarch64 (arm64) architectures. Build for your platform or use buildx for cross-platform:
docker buildx build --platform linux/amd64,linux/arm64 -t kv .Build with a specific neovim version:
docker build --build-arg NVIM_VERSION=v0.10.0 -t kv ./usr/local/bin/kv # kv binary
/usr/local/bin/nvim # symlink to /opt/nvim-linux-*/bin/nvim
/home/koala/ # non-root user home
.config/kvim-envs/main/ # KoalaVim config (from template)
.local/share/kvim-envs/main/
lazy/ # lazy.nvim plugins (pre-installed)
kv/ # kv data (install manifest, lockfile backups)