kayobe/releasenotes/notes/docker-registry-env-e954a0642555864f.yaml
Pierre Riteau e642ba11b3 Allow to configure Docker Registry via environment variables
Change-Id: Ida7b870e86894bd33e923ae1cc1142d32e052ddc
Story: 2004817
Task: 28982
2019-01-31 11:40:34 +00:00

19 lines
716 B
YAML

---
features:
- |
Adds support for configuring the Docker Registry by providing environment
variables to its container via the ``docker_registry_env`` Ansible
variable. For example, the registry can be configured as a pull through
cache to Docker Hub using:
.. code-block:: text
docker_registry_env:
REGISTRY_PROXY_REMOTEURL: "https://registry-1.docker.io"
Note that it is not possible to push to a registry configured as a
pull through cache. See `story 2004817
<https://storyboard.openstack.org/#!/story/2004817>`__ for details and the
`Docker documentation <https://docs.docker.com/registry/configuration/>`__
for the full list of configuration options.