https://github.com/kr1sp1n/docker-dotfiles
My dotfiles as data-only docker image
https://github.com/kr1sp1n/docker-dotfiles
docker-dotfiles docker-image dotfiles vim
Last synced: about 2 months ago
JSON representation
My dotfiles as data-only docker image
- Host: GitHub
- URL: https://github.com/kr1sp1n/docker-dotfiles
- Owner: kr1sp1n
- License: mit
- Created: 2016-10-07T09:43:39.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-21T08:22:27.000Z (over 9 years ago)
- Last Synced: 2026-01-14T10:38:41.255Z (5 months ago)
- Topics: docker-dotfiles, docker-image, dotfiles, vim
- Language: Vim script
- Size: 579 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotfiles
My dotfiles as Data-only docker image.
## Install a vim plugin manager locally
```bash
curl -fLo ./.config/nvim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
```
## Install fish plugin manager locally
```bash
curl -Lo ./.config/fish/functions/fisher.fish --create-dirs git.io/fisher
```
## Install plugins within a vim docker container
1. ```docker run --rm -it -v $PWD:/root kr1sp1n/alpine-neovim```
2. ```:PlugInstall```
## Install fisherman plugins within a fisherman container
1. ```docker run --rm -it -v $PWD:/root kr1sp1n/dock```
2. ```fisher```
## Build docker data-only image
```bash
docker build -t kr1sp1n/dotfiles .
```
## Create data-only container of dotfiles
```bash
docker create -v /root --name dotfiles kr1sp1n/dotfiles
```
## Run vim with data-only container as dotfiles for vim etc.
```bash
docker run --rm -it --volumes-from dotfiles kr1sp1n/alpine-neovim
```