Updated Docker server installation (markdown)

zadam 2019-11-26 21:07:32 +01:00
parent 33ddaf4779
commit 1e8c5c9da6

@ -17,7 +17,7 @@ Replace [VERSION] for actual latest version or use "series" tag - e.g. `0.34-lat
## Run image ## Run image
~~~~ ~~~~
sudo docker run -t -i -p 8080:8080 -v ~/trilium-data:/home/node/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. 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.