Forge Home

docker_registry

UNKNOWN

11,171 downloads

9,489 latest version

1.9 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.2.0 (latest)
  • 0.1.0
  • 0.0.9
  • 0.0.8
  • 0.0.7
  • 0.0.6
  • 0.0.5
  • 0.0.4
  • 0.0.2
  • 0.0.1
released Nov 13th 2014

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'markb-docker_registry', '0.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add markb-docker_registry
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install markb-docker_registry --version 0.2.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

markb/docker_registry — version 0.2.0 Nov 13th 2014

#docker_registry

####Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with docker_registry
  1. Usage - Configuration options and additional functionality
  2. Reference - An under-the-hood peek at what the module is doing and how coming soon
  3. Limitations - OS compatibility, etc.
  4. Development - Guide for contributing to the module

##Overview

The docker_registry module delploys a private docker registry.

##Module Description

Docker is an open platform for developers and sysadmins to build, ship, and run distributed applications. Consisting of Docker Engine, a portable, lightweight runtime and packaging tool, and Docker Hub, a cloud service for sharing applications and automating workflows, Docker enables apps to be quickly assembled from components and eliminates the friction between development, QA, and production environments. As a result, IT can ship faster and run the same app, unchanged, on laptops, data center VMs, and any cloud.

The Docker registry offers some of the same functionality as the Docker Hub. It can be installed and administered privately where business, network, and other concerns prohibit the use of a third party hub.

Please note that the deployed registry will be insecure.

##Setup

###affected components

  • This module adds the requisite repositories and packages for running the docker registry, then starts the service.
  • This is an alpha stage module; not intended for production use.

###Setup Requirements

on ubuntu, make sure ruby 1.9.x is installed.

###getting started

wget https://forgeapi.puppetlabs.com/v3/files/markb-docker_registry-0.2.0.tar.gz

puppet module install markb-docker_registry-0.2.0.tar.gz

puppet apply -e 'include docker_registry'

you'll want to stop the docker service and start a daemon with the insecure flag:

docker -d --insecure-registry localhost:5000

then you can use the following to see that the registry is working:

docker search tutorial
docker pull learn/tutorial
docker run learn/tutorial apt-get install -y ping
docker ps -a
docker commit <hash from last command> localhost:5000/tutorialWithPing
docker push localhost:5000/tutorialWithPing

##Usage

include docker_registry

##Reference

forthcoming

##Limitations

This module will only work for Debian and Rel variants. It's only been tesed on CentOs 6.5 and Ubuntu 12.04 at this point. Feedback and errata on other distros/versions is eagerly anticipated.

##Development

Please see the Github repository to contribute.