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:
parent
ada75e9c6c
commit
1415acdf0e
|
|
@ -19,7 +19,7 @@ make container REGISTRY=registry VERSION=tag
|
||||||
|
|
||||||
# run the container
|
# run the container
|
||||||
docker run -d \
|
docker run -d \
|
||||||
-v /tmp/git-data:/git \
|
-v /tmp/git-data:/tmp/git \
|
||||||
registry/git-sync:tag \
|
registry/git-sync:tag \
|
||||||
--repo=https://github.com/kubernetes/git-sync
|
--repo=https://github.com/kubernetes/git-sync
|
||||||
--branch=master
|
--branch=master
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue