aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker-registry/config-example.patch
blob: b07c96db2a3a032a316be9e369f7e493e7a2f935 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- a/cmd/registry/config-example.yml
+++ b/cmd/registry/config-example.yml
@@ -6,7 +6,7 @@
   cache:
     blobdescriptor: inmemory
   filesystem:
-    rootdirectory: /var/lib/registry
+    rootdirectory: /var/lib/docker-registry
 http:
   addr: :5000
   headers:
@@ -16,3 +16,7 @@
     enabled: true
     interval: 10s
     threshold: 3
+
+# Uncomment to use this Registry as pull-through cache for DockerHub.
+#proxy:
+#  remoteurl: https://registry-1.docker.io