forked from Lanjelin/nvim-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmy-nvim-docker.xml
More file actions
38 lines (38 loc) · 2.04 KB
/
my-nvim-docker.xml
File metadata and controls
38 lines (38 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?xml version="1.0"?>
<Container version="2">
<Name>nvim-docker</Name>
<Repository>ghcr.io/lanjelin/nvim-docker:latest</Repository>
<Registry>https://github.com/lanjelin/nvim-docker</Registry>
<Network>bridge</Network>
<MyIP/>
<Shell>zsh</Shell>
<Privileged>false</Privileged>
<Support/>
<Project/>
<Overview>hyperextensible Vim-based text editor.

Run the following from the terminal before starting the container here, to allow it to set up all the configurations properly.

docker run -it --rm -v /mnt/user/appdata/nvim-docker:/root -e NVIM_DISTRO="lazyvim" ghcr.io/lanjelin/nvim-docker:latest

When everything stops moving, type :q and press Enter to leave the container. 
It is now safe to start it from the UI

Defaults to expose only nvim to the webui. To make is expose shell (zsh), change the Post Arguments to 'ttyd zsh'</Overview>
<Category/>
<WebUI>http://[IP]:[PORT:7681]</WebUI>
<TemplateURL/>
<Icon>https://avatars.githubusercontent.com/u/6471485</Icon>
<ExtraParams/>
<PostArgs>ttyd.nerd -W -t fontFamily="JetBrains" nvim "/edit"</PostArgs>
<CPUset/>
<DateInstalled>1700118731</DateInstalled>
<DonateText/>
<DonateLink/>
<Requires>Run a command in the terminal before starting the container from the GUI, in order for configurations to be set up properly.

docker run -it --rm -v /mnt/user/appdata/nvim-docker:/root -e NVIM_DISTRO="lazyvim" ghcr.io/lanjelin/nvim-docker:latest</Requires>
<Config Name="WEB UI" Target="7681" Default="7681" Mode="tcp" Description="" Type="Port" Display="always" Required="false" Mask="false">7681</Config>
<Config Name="Config" Target="/root" Default="/mnt/user/appdata/nvim-docker" Mode="rw" Description="Persist configuration between runs" Type="Path" Display="always" Required="false" Mask="false">/mnt/user/appdata/nvim-docker</Config>
<Config Name="Files" Target="/edit" Default="" Mode="rw" Description="Path to files/project to mount inside the container" Type="Path" Display="always" Required="false" Mask="false"/>
</Container>