Package: docker-registry / 2.8.3+ds1-2

0002-config-docker-registry.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
From: Tianon Gravi <tianon@debian.org>
Date: Tue, 8 Feb 2022 00:39:58 +0800
Subject: Patch the default "rootdirectory" for policy compliance

Forwarded: no
---
 cmd/registry/config-dev.yml     | 2 +-
 cmd/registry/config-example.yml | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/cmd/registry/config-dev.yml b/cmd/registry/config-dev.yml
index 9539bae..8869908 100644
--- a/cmd/registry/config-dev.yml
+++ b/cmd/registry/config-dev.yml
@@ -24,7 +24,7 @@ storage:
     cache:
         blobdescriptor: redis
     filesystem:
-        rootdirectory: /var/lib/registry
+        rootdirectory: /var/lib/docker-registry
     maintenance:
         uploadpurging:
             enabled: false
diff --git a/cmd/registry/config-example.yml b/cmd/registry/config-example.yml
index a05cb1a..93a32ac 100644
--- a/cmd/registry/config-example.yml
+++ b/cmd/registry/config-example.yml
@@ -6,7 +6,7 @@ storage:
   cache:
     blobdescriptor: inmemory
   filesystem:
-    rootdirectory: /var/lib/registry
+    rootdirectory: /var/lib/docker-registry
   delete:
     enabled: true
 http:
@@ -16,7 +16,7 @@ http:
 auth:
   htpasswd:
     realm: basic-realm
-    path: /etc/registry
+    path: /etc/docker/registry/htpasswd
 health:
   storagedriver:
     enabled: true