Skip to content

kolserdav/coc-nvim-dockerized

Repository files navigation

Coc Neovim Dockerized

Dockerized Neovim with Coc installed plugin

Neovim

Supported languages:


Javascript Typescript NodeJS
Python
Rust


Coc Neovim [node|rust|python] dockerized

Docker container which has Neovim's Coc plugin with "[node|rust|python]" language server.

Running

  • Docker run
docker run -e "NEOVIM_UID=1000" -e "NEOVIM_GID=1000" -e "NEOVIM_MNT_DIR=/path/to/project" -v /path/to/project:/mnt/project kolserdav/coc-neovim-[node|rust|python]:latest 
  • Docker compose
services:
  neovim:
    image: kolserdav/coc-nvim-[node|rust|python]
    container_name: neovim-[node|rust|python]
    environment:
      UID: ${NEOVIM_UID}
      GID: ${NEOVIM_GID}
    volumes:
      - ${NEOVIM_MNT_DIR}:/mnt/project
      - neovim:/home/node/.local/share
        #- ./custom.sh:/home/node/custom.sh
    hostname: neovim-[node|rust|python]
volumes:
  neovim: {}

Required environment variables

  • NEOVIM_UID - Host system user id
  • NEOVIM_GID - Host system group id

Volumes

  • /path/to/project:/mnt/project - Access to project files from container
  • neovim:/home/node/.local/share - Save nvim config between container recreates

Source: coc-nvim-dockerized

Dockerhub links

coc-nvim-node
coc-nvim-rust
coc-nvim-python

About

Dockerized Neovim with Coc installed plugin

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •