Package: docker-registry / 2.4.1~ds1-2

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
Description: Patch the default "rootdirectory" for policy compliance
Author: Tianon Gravi <tianon@debian.org>
Forwarded: no

--- a/cmd/registry/config-example.yml
+++ b/cmd/registry/config-example.yml
@@ -5,9 +5,9 @@
 storage:
   cache:
     blobdescriptor: inmemory
   filesystem:
-    rootdirectory: /var/lib/registry
+    rootdirectory: /var/lib/docker-registry
 http:
   addr: :5000
   headers:
     X-Content-Type-Options: [nosniff]
--- a/cmd/registry/config-dev.yml
+++ b/cmd/registry/config-dev.yml
@@ -23,9 +23,9 @@
       enabled: true
     cache:
         blobdescriptor: redis
     filesystem:
-        rootdirectory: /var/lib/registry
+        rootdirectory: /var/lib/docker-registry
     maintenance:
         uploadpurging:
             enabled: false
 http: