Skip to content

The Docker-based development environment for NeoVim is a flexible workspace for coding. Built with Alpine.js, it links to your local files. Customizable and easy to set up with Docker Compose, it's ideal for developers looking for an efficient and personalized workspace.

Notifications You must be signed in to change notification settings

FlorianBx/docker-dev-environment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

docker Neovim Docker project for development environment

This Docker project allows you to create a development environment with NeoVim. You can easily launch the environment with Docker Compose and link your local working directory with the container's working directory.

Requirements

  • Docker
  • Docker Compose

Installation

  1. Clone the project on your local machine:
git clone https://github.com/BFlorian91/docker-dev-environment
  1. Navigate to the directory:
cd docker-dev-environment
  1. IMPORTANT: Do not forget to update the path of the volume bind in the docker-compose.yml file to match your local working directory path.

Usage

Start the development environment with the following command:

docker-compose up -d --build

Enter the container's shell using the following command:

docker-compose exec neovim fish

You can now use NeoVim to work on your local files by accessing the mounted working directory in the container: cd /workdir
To stop the development environment, use the following command: docker-compose down

Customization

You can customize the development environment by modifying the Dockerfile and docker-compose.yml files. You can also add Fish shell aliases in the .config/fish/config.fish file.

Remarks

  • Changes made to the files in the container's working directory will be automatically synchronized with the local working directory thanks to the volume binding.
  • Changes made to the Dockerfile and docker-compose.yml files will only take effect after restarting the development environment with the command docker-compose up -d --build.
  • The project was built with Alpine.js.
  • Do not hesitate to consult the Docker documentation for more information on using Docker and Docker Compose.

About

The Docker-based development environment for NeoVim is a flexible workspace for coding. Built with Alpine.js, it links to your local files. Customizable and easy to set up with Docker Compose, it's ideal for developers looking for an efficient and personalized workspace.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published