Git Product home page Git Product logo

ansible-docker-registry's Introduction

ansible-docker-registry

#Ansible playbook for docker-registry (v1 and v2 using docker official registry image)

This is an Ansible playbook for Docker registry. You can use it by itself or as part of a larger playbook customized for your local environment.

Steps

Testing locally with Vagrant

A sample Vagrant configuration is provided to help with local testing. After installing Vagrant, run vagrant up at the root of the project to get a VM instance bootstrapped and configured with a running instance of docker registry.

Include role in a larger playbook

Add this role as a git submodule

Assuming your playbook structure is such as:

- my-master-playbook
  |- filter_plugins
  |- vars
  |- roles
  |- my-master-playbook-main.yml
  \- my-master-inventory.ini

Add filter_plugins/group.py file to your filter_plugins directory

Checkout this project as a submodule under roles:

$  cd roles
$  git submodule add git://github.com/fupelaqu/ansible-docker-registry.git ./docker-registry
$  git submodule update --init
$  git commit ./docker-registry -m "Added ansible-docker-registry as ./docker-registry"

Include this playbook as a role in your master playbook

Example my-master-playbook-main.yml:

---

#########################
# docker-registry install #
#########################

- hosts: docker-registry
  user: ubuntu
  sudo: yes

  roles:
    - docker-registry

  vars_files:
    - vars/my-vars.yml

Issues, requests, contributions

This software is provided as is. Having said that, if you see an issue, feel free to log a ticket. We'll do our best to address it. Same if you want to see a certain feature supported in the fututre. No guarantees are made that any requested feature will be implemented. If you'd like to contribute, feel free to clone and submit a pull request.

Dependencies

None

License

MIT

Author Information

Stéphane Manciot - stephane.manciot [at] gmail.com

ansible-docker-registry's People

Contributors

fupelaqu avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.