documenting read-only container usage

This commit is contained in:
El RIDO
2018-06-05 07:36:08 +02:00
parent 5808886738
commit 89c018c379

View File

@@ -6,6 +6,7 @@ A tiny image running [alpine](https://github.com/gliderlabs/docker-alpine) Linux
## Usage ## Usage
docker run --restart=always -d \ docker run --restart=always -d \
--read-only
-p 0.0.0.0:80:80 \ -p 0.0.0.0:80:80 \
--hostname=privatebin \ --hostname=privatebin \
--name=privatebin \ --name=privatebin \
@@ -13,7 +14,7 @@ A tiny image running [alpine](https://github.com/gliderlabs/docker-alpine) Linux
-v /<host_cfg_directory>:/privatebin/cfg \ -v /<host_cfg_directory>:/privatebin/cfg \
jgeusebroek/privatebin jgeusebroek/privatebin
On first run it will copy the sample config file if there isn't a config file already. On first run it will copy the sample config file, if there isn't a config file already.
## Optional environment variables ## Optional environment variables