diff options
author | nodiscc <nodiscc@gmail.com> | 2017-12-09 15:33:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-09 15:33:49 +0100 |
commit | 60ca6354bd1fe4acace21029389f23fa95257526 (patch) | |
tree | ad0ae82c269003f3a4af0ef884b77a6f6996543c /doc/md | |
parent | 32488257ee37bb484d054742f3630871a0083dbe (diff) | |
download | Shaarli-60ca6354bd1fe4acace21029389f23fa95257526.tar.gz Shaarli-60ca6354bd1fe4acace21029389f23fa95257526.tar.zst Shaarli-60ca6354bd1fe4acace21029389f23fa95257526.zip |
doc: move docker autobuild from index.md to shaarli-images.md
Diffstat (limited to 'doc/md')
-rw-r--r-- | doc/md/docker/shaarli-images.md | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/md/docker/shaarli-images.md b/doc/md/docker/shaarli-images.md index 1769d7e9..5491ee76 100644 --- a/doc/md/docker/shaarli-images.md +++ b/doc/md/docker/shaarli-images.md | |||
@@ -81,3 +81,14 @@ backstabbing_galileo | |||
81 | $ docker ps -a | 81 | $ docker ps -a |
82 | CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | 82 | CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES |
83 | ``` | 83 | ``` |
84 | |||
85 | ### Automatic builds | ||
86 | |||
87 | Docker users can start a personal instance from an [autobuild image](https://hub.docker.com/r/shaarli/shaarli/). For example to start a temporary Shaarli at ``localhost:8000``, and keep session data (config, storage): | ||
88 | ``` | ||
89 | MY_SHAARLI_VOLUME=$(cd /path/to/shaarli/data/ && pwd -P) | ||
90 | docker run -ti --rm \ | ||
91 | -p 8000:80 \ | ||
92 | -v $MY_SHAARLI_VOLUME:/var/www/shaarli/data \ | ||
93 | shaarli/shaarli | ||
94 | ``` | ||