From 7d0bf3d89596ba8c7c3a400b443b90c4c5be62f8 Mon Sep 17 00:00:00 2001 From: admin Date: Fri, 6 Feb 2026 15:08:30 -0700 Subject: [PATCH] fixed formatting and errors in zot config --- lxc1/p2-apps/zot/config.json | 42 +++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 13 deletions(-) diff --git a/lxc1/p2-apps/zot/config.json b/lxc1/p2-apps/zot/config.json index bce5eb3..7906dcc 100644 --- a/lxc1/p2-apps/zot/config.json +++ b/lxc1/p2-apps/zot/config.json @@ -15,42 +15,58 @@ "credentialsFile": "/etc/zot/creds.json", "registries": [ { - "urls": ["https://docker.io"], + "urls": [ + "https://registry-1.docker.io" + ], "onDemand": true, "tlsVerify": true, "content": [ - { "prefix": "docker-hub/**", - "stripPrefix": true + { + "prefix": "docker-hub/**", + "destination": "/", + "stripPrefix": true } ] }, { - "urls": ["https://ghcr.io"], + "urls": [ + "https://ghcr.io" + ], "onDemand": true, "tlsVerify": true, "content": [ - { "prefix": "ghcr/**", - "stripPrefix": true + { + "prefix": "ghcr/**", + "destination": "/", + "stripPrefix": true } ] }, { - "urls": ["https://lscr.io"], + "urls": [ + "https://lscr.io" + ], "onDemand": true, "tlsVerify": true, "content": [ - { "prefix": "lscr/**", - "stripPrefix": true + { + "prefix": "lscr/**", + "destination": "/", + "stripPrefix": true } ] }, - { - "urls": ["https://codeberg.org"], + { + "urls": [ + "https://codeberg.org" + ], "onDemand": true, "tlsVerify": true, "content": [ - { "prefix": "lscr/**", - "stripPrefix": true + { + "prefix": "codeberg/**", + "destination": "/", + "stripPrefix": true } ] }