aboutsummaryrefslogtreecommitdiffstats
path: root/community/docker-registry/config-example.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/docker-registry/config-example.patch')
-rw-r--r--community/docker-registry/config-example.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/community/docker-registry/config-example.patch b/community/docker-registry/config-example.patch
new file mode 100644
index 0000000000..b07c96db2a
--- /dev/null
+++ b/community/docker-registry/config-example.patch
@@ -0,0 +1,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