aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc/md
diff options
context:
space:
mode:
authorB. van Berkum <dev@dotmpe.com>2017-10-03 00:23:34 +0200
committerB. van Berkum <dev@dotmpe.com>2017-10-03 00:23:34 +0200
commit02ff7897c0bcb48521ddd0c494f346b6df275ab4 (patch)
tree6624d93e44d58751d03f9433659cfd498a914d19 /doc/md
parent3512f4461722c9a3c7cf6511232bda156bf91970 (diff)
downloadShaarli-02ff7897c0bcb48521ddd0c494f346b6df275ab4.tar.gz
Shaarli-02ff7897c0bcb48521ddd0c494f346b6df275ab4.tar.zst
Shaarli-02ff7897c0bcb48521ddd0c494f346b6df275ab4.zip
Added docker quickstart example, with user-data volume
Diffstat (limited to 'doc/md')
-rw-r--r--doc/md/index.md12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/md/index.md b/doc/md/index.md
index 24ada6c7..5f10227f 100644
--- a/doc/md/index.md
+++ b/doc/md/index.md
@@ -22,6 +22,18 @@ It runs the latest development version of Shaarli and is updated/reset daily.
22 22
23Login: `demo`; Password: `demo` 23Login: `demo`; Password: `demo`
24 24
25Docker users can start a personal instance from an [autobuild image](https://hub.docker.com/r/shaarli/shaarli/). For an example to start a temporary Shaarli at ``localhost:8000``, and to keeps the data you create (config, storage) during the session:
26```
27MY_SHAARLI_VOLUME=$(cd /path/to/shaarli/data/ && pwd -P)
28docker run -ti --rm \
29 -p 8000:80 \
30 -v $MY_SHAARLI_VOLUME:/var/www/shaarli/data \
31 shaarli/shaarli
32```
33
34A brief guide on getting starting using docker is given in [Docker 101](docker/docker-101).
35
36To learn more about user data and how to keep it across versions, please see [Upgrade and Migration](Upgrade-and-migration) documentation.
25 37
26## Features 38## Features
27 39