From 217058cda7ed56530a4626525d294c95feeb2c63 Mon Sep 17 00:00:00 2001 From: Roman Vynar Date: Wed, 16 May 2018 17:34:12 +0300 Subject: [PATCH] Add a comment about --read-only option usage. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 8595dfb..0f2b95d 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ The configuration is stored in `config.yml` and the options are self-descriptive ### Run UI - docker run -d -p 8000:8000 --read-only -v /local/config.yml:/opt/config.yml:ro \ + docker run -d -p 8000:8000 -v /local/config.yml:/opt/config.yml:ro \ --name=registry-ui quiq/docker-registry-ui To run with your own root CA certificate, add to the command: @@ -35,6 +35,9 @@ To preserve sqlite db file with event notifications data, add to the command: -v /local/data:/opt/data +You can also run the container with `--read-only` option, however when using using event listener functionality +you need to ensure the sqlite db can be written, i.e. mount a folder as listed above. + ## Configure event listener on Docker Registry To receive events you need to configure Registry as follow: