From 0010dafe6dd851abd0d2fe1c47f5f919fe1f9957 Mon Sep 17 00:00:00 2001 From: Haiyan Meng Date: Tue, 17 Nov 2020 18:44:35 -0800 Subject: [PATCH] Add the `--root` flag into the Usage section --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0ff2b6e..41d635c 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ docker run -d \ registry/git-sync:tag \ --repo=https://github.com/kubernetes/git-sync \ --branch=master \ + --root=/tmp/git/root \ --period=30s # run an nginx container to serve the content @@ -70,10 +71,11 @@ A webhook is configured using a set of CLI flags. At its most basic only `webhoo ``` docker run -d \ - -v /tmp/git-data:/git \ + -v /tmp/git-data:/tmp/git \ registry/git-sync:tag \ --repo=https://github.com/kubernetes/git-sync \ --branch=master \ + --root=/tmp/git/root \ --period=30s \ --webhook-url="http://localhost:9090/-/reload" ```