This plugin allows to mount git repository in container.
$ docker plugin install kassisol/gitvol:x.x.x
Key | Default | Description |
---|---|---|
url | ||
ref | master | |
auth-type | anonymous | |
auth-user | ||
secret-driver | stdin |
$ docker volume create -d kassisol/gitvol:x.x.x -o "url=https://github.com/kassisol/docker-volume-git.git" vol_gitplugin
Key | Description |
---|---|
auth-password |
$ docker volume create -d kassisol/gitvol:x.x.x -o "url=ssh://<git_url>/<project>/<repo>" -o "auth-type=password" -o "auth-user=user1" -o "secret-driver=stdin" -o "auth-password=pass1234" vol_repo
Key | Description |
---|---|
vault-addr | |
vault-token | |
vault-secret-path | |
vault-secret-field |
$ docker volume create -d kassisol/gitvol:x.x.x -o "url=ssh://<git_url>/<project>/<repo>" -o "auth-type=pubkey" -o "auth-user=user1" -o "secret-driver=vault" -o "vault-addr=http://192.168.0.10:8200" -o "vault-token=1ad7bce4-078e-23a1-07e9-981a02abd514" -o "vault-secret-path=secret/user1" -o "vault-secret-field=prikey" vol_repo
If you have any problems with or questions about this application, please contact us through a GitHub issue.