From 0b3cf7cc966f7f1d4563ef8acc23e7ccf8924c23 Mon Sep 17 00:00:00 2001 From: Pierre Prinetti Date: Fri, 15 Nov 2019 10:44:40 +0100 Subject: [PATCH] docker: Add Run with volume example Supersedes https://github.com/ether/etherpad-lite/pull/3631 Co-authored-by: RaymondCavallaro --- doc/docker.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/doc/docker.md b/doc/docker.md index e77cde40..72cc6437 100644 --- a/doc/docker.md +++ b/doc/docker.md @@ -100,3 +100,12 @@ docker run -d \ -e 'ADMIN_PASSWORD=supersecret' \ etherpad/etherpad ``` + +Run a test instance running DirtyDB on a persistent volume: + +``` +docker run -d \ + -v etherpad_data:/opt/etherpad-lite/var \ + -p 9001:9001 \ + etherpad/etherpad +```