almaops.ct_docker_registry

almaops.ct_docker_registry

License

Deploy Docker Registry (for mirroring Docker images and using S3 storage)

Description

This role allows you to set up a Docker Registry container and configure it.

The default configuration gives you options for using either local storage or S3 storage. It also enables registry mirroring, which helps you avoid Docker Hub's pull rate limits.

Example

- role: almaops.docker
- role: almaops.ct_docker_registry
  ct_docker_registry_ct_name: "registry-mirror"
  ct_docker_registry_bind_addr: "{{ backnet_ip }}"
  ct_docker_registry_port: "5000"
  ct_docker_registry_enable_mirroring: true
  ct_docker_registry_enable_s3_storage: true
  ct_docker_registry_s3_akey: "<...>"
  ct_docker_registry_s3_skey: "<...>"
  ct_docker_registry_s3_region: "ru-central1"
  ct_docker_registry_s3_endpoint: "https://storage.yandexcloud.net"
  ct_docker_registry_s3_bucket: "myorg-dockerhub-mirror"

Install

You can install this role from Ansible Galaxy using the following command:

ansible-galaxy install almaops.ct_docker_registry

License

MIT

Author Information

Dmitrii Kashin, freehck@freehck.com

Informazioni sul progetto

install docker registry in container (allows mirroring)

Installa
ansible-galaxy install almaops.ct_docker_registry
Licenza
mit
Download
161
Proprietario
Premium IT Consulting