From 7361766ef52eaea550b1de9d681512f9dda121b4 Mon Sep 17 00:00:00 2001 From: Liron Levin Date: Sun, 13 Aug 2017 09:16:48 +0300 Subject: [PATCH] Replaced default auth configuration from 'none' to 'htpasswd'. Replaced the default registry auth configuration from 'none' to 'htpasswd'. Following the change in docker/distribution#2362. Signed-off-by: Liron Levin --- registry/config-example.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/registry/config-example.yml b/registry/config-example.yml index 3277f9a2e..c760cd567 100644 --- a/registry/config-example.yml +++ b/registry/config-example.yml @@ -11,6 +11,10 @@ http: addr: :5000 headers: X-Content-Type-Options: [nosniff] +auth: + htpasswd: + realm: basic-realm + path: /etc/registry health: storagedriver: enabled: true