/docker-registry

Ansible role to setup docker registry.

docker-registry

Build Status Ansible Galaxy

Ansible role to manage and run docker registry:2.

No authentication is done here; the registry is supposed to sit behind a proxy, which handles HTTPS and authentication.

Requirements

This role has only been tested on Ubuntu 14.04. Since this uses Ansible's docker module, you will need to ensure that a recent-ish version of docker-py and docker are installed.

Examples

Install this module from Ansible Galaxy into the './roles' directory:

ansible-galaxy install wangsha.docker-registry -p ./roles

Use it in a playbook as follows, assuming you already have docker setup:

- hosts: 'servers'
  roles:
    - role: 'wangsha.docker-registry'
      become: true

Have a look at the defaults/main.yml for role variables that can be overridden! If you need a playbook to set Docker itself, have a look at angstwad.docker_ubuntu Galaxy role.

Additional References

License

MIT

Author Information

  • blurrcat
  • wangsha