mirror of
https://github.com/casjaysdevdocker/vim
synced 2025-01-18 06:34:26 -05:00
900 B
900 B
vim Readme 👋
Vim is a highly configurable text editor
Run container
dockermgr install vim
via command line
docker run -d \
--restart always \
--name vim \
--hostname casjaysdev-vim \
-e TZ=${TIMEZONE:-America/New_York} \
-v $PWD/vim/data:/root \
-v $PWD/vim/config:/etc/vim \
casjaysdev/vim:latest
via docker-compose
version: "2"
services:
vim:
image: casjaysdev/vim
container_name: vim
environment:
- TZ=America/New_York
- HOSTNAME=casjaysdev-vim
volumes:
- $HOME/.local/share/docker/storage/vim/data:/root
- $HOME/.local/share/docker/storage/vim/config:/etc/vim
restart:
- always