aboutsummaryrefslogblamecommitdiffstats
path: root/community/docker-registry/config-example.patch
blob: b07c96db2a3a032a316be9e369f7e493e7a2f935 (plain) (tree)


















                                                                      
--- 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