contiv-experimental / volplugin

**EXPERIMENTAL** Contiv Storage: Policy backed Clustered Storage (via Ceph or NFS) for Docker
Other
220 stars 29 forks source link

Makefile, build: support for private registry for container images #428

Closed vvb closed 8 years ago

vvb commented 8 years ago

Added run-fast and run-registry Makefile targets. run-registry - creates a private registry and adds the necessary DOCKER_OPTS to allow for an insecure-registry. run-fast - build the changes on mon0, tags the images, and pushes it to private registry on mon0. mon1 and mon2 pull this image from mon0's docker registry. starts the processes as usual. cleans any dangling images that are left over.

conscious choices: At multiple places the number of mon instances is fixed ($(seq 0 2)) in Makefile. Getting this from vagrant status was taking time. Since, I am going to hack on this further to see if some tasks can be parallelised. I will take care of this hard-coding then.

Signed-off-by: Vikrant Balyan vijayvikrant84@gmail.com

erikh commented 8 years ago

LGTM

dseevr commented 8 years ago

Cool hack. LGTM