From 1415acdf0e25a0eb10a4f5676ec4192db5b59ae7 Mon Sep 17 00:00:00 2001 From: Joshua Carp Date: Mon, 17 Sep 2018 23:25:32 -0400 Subject: [PATCH] Update example volume mount Since the default clone path is $HOME/git and the docker image sets $HOME to /tmp, we have to mount the volume at `/tmp/git` for the container to write files to the volume. As written, the example doesn't write to the volume. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 55f05ec..46c3f34 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ make container REGISTRY=registry VERSION=tag # run the container 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