From 68b8e40c7598140d48be19e43d5a07693805186e Mon Sep 17 00:00:00 2001 From: Lucas Vieira Date: Fri, 26 May 2017 09:21:10 -0300 Subject: [PATCH] README updated in order to run bucardo container daemonized --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 5333380..6fde34c 100644 --- a/README.md +++ b/README.md @@ -74,16 +74,20 @@ Ubuntu-based Bucardo image for Docker Containers. - 0 No full copy is done - 1 A full table copy is always performed - 2 A full copy is done in case the destination table is empty - -4. Start the container with a command such as: + +4. Start the container: ```bash docker run --name my_own_bucardo_container \ -v :/media/bucardo \ - -it plgr/bucardo + -d plgr/bucardo ``` -And that's that. If you run a docker attach my_own_bucardo_container, you will be able to watch the current status of your bucardo syncs. +5. Check bucardo's status: + + ```bash + docker logs my_own_bucardo_container -f + ``` ## How to use it (env-based passwords) @@ -97,7 +101,7 @@ Same as before. The only difference is: docker run --name my_own_bucardo_container \ -v :/media/bucardo \ -e BUCARDO_DB3="secret" \ - -it plgr/bucardo + -d plgr/bucardo ``` ## Acknowlegments