Skip to content

for creating portable volumes of git/hg repos -- to attach to different containers.

License

Notifications You must be signed in to change notification settings

cognition/docker-git-volume

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Docker Volumes for Repos -- git/lvm2/xfs

Discription: This container/tool is intended as a method to add git repos into docker volumes, and support file systems. so they can be added and used by different containers, but also be maintainded on their own

    docker volume create --name my-git-repo-vol
    docker volume ls | grep my-git

now run a attach it to the container

    docker run -it --volume my-git-repo-vol:/my_repo --name loadVolumes rbrooker/docker-volume-git

example usage:

    root@69344309a0d0:/# cd /my_repo
    root@69344309a0d0:/my_repo#  git clone [email protected]:myuser/my-awesome-git-repo.git
    root@69344309a0d0:/my_repo# exit

Maintained by

Ramon Brooker [email protected] 2016

=======

docker-git-volume

for creating portable volumes of git/hg repos -- to attach to different containers.

About

for creating portable volumes of git/hg repos -- to attach to different containers.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published