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.
This commit is contained in:
Joshua Carp 2018-09-17 23:25:32 -04:00 committed by Tim Hockin
parent ada75e9c6c
commit 1415acdf0e
1 changed files with 1 additions and 1 deletions

View File

@ -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