Alpine-based Neovim with LazyVim pre-installed. Lightweight and fast
1.9K
GitHub Repository: https://github.com/build-axis/nvim
Professional, lightweight LazyVim environment in a Docker container. Work with a full IDE setup on any machine while maintaining host file permissions.
ripgrep, fzf, gcc, gcompat, and nodejs for LSP and Tree-sitter.Run the container to edit the current directory (files created will be owned by your current user):
docker run -it --rm \
-e LOCAL_UID=$(id -u) \
-e LOCAL_GID=$(id -g) \
-v $(pwd):/src \
serh/nvim .
To persist your Neovim configuration, plugins, and cache on your host machine:
~/.bashrc or ~/.zshrc:alias dnv='docker run -it --rm \
-e LOCAL_UID=$(id -u) \
-e LOCAL_GID=$(id -g) \
-v $(pwd):/src \
-v ~/.local/share/nvim-docker:/home/editor \
serh/nvim'
dnv in any project folder:dnv .
Note: On the first run with a new volume, the container will automatically initialize LazyVim config in your host folder.
su-exec to switch from root to a user named editor with your specific UID/GID at runtime./src (mapped to your project)./home/editor (where config and plugins reside).To verify the setup inside Neovim:
:checkhealth
Content type
Image
Digest
sha256:e62acc0ba…
Size
245.3 MB
Last updated
8 months ago
docker pull serh/nvim