mirror of
https://github.com/zadam/trilium.git
synced 2025-01-30 10:57:51 +08:00
Updated Docker server installation (markdown)
parent
7864a75a6b
commit
290c7c7b59
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ Replace [VERSION] for actual latest version. It's not recommended to use "latest
|
|||
## Run image
|
||||
|
||||
~~~~
|
||||
sudo docker run -t -i -p 8080:8080 -v ~/trilium-data:/home/[myuser]/trilium-data zadam/trilium:latest
|
||||
sudo docker run -t -i -p 8080:8080 -v ~/trilium-data:/root/trilium-data zadam/trilium:latest
|
||||
~~~~
|
||||
|
||||
Command above is mounting volume to the host system so that trilium's data (most importantly [[document]]) is persisted and not cleared after container stops.
|
Loading…
Reference in a new issue