Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker Volumes for Repos -- git/hg
Full Description

Docker Volumes for Repos -- git/hg

this container/tool is intended as a method to add git/hg repos into docker volumes
so they can be added or used by different containers

    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 
    root@69344309a0d0:/my_repo# exit 

Maintained by

Ramon Brooker 2016



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

Docker Pull Command
Source Repository