Skip to content

registry-cache

x86-64 arm64 ยท ๐Ÿณ Docker ยท Documentation ยท http://<your.IP>:5000

registry-cache is a read-only cache of one OCI registry, ghcr.io by default. It stores downloaded content on local disk. Tag lookups still go to the registry, so the cache needs access to the registry.

Armbian stores build artifacts and git trees on ghcr.io. Build hosts with many runners download each artifact once.

Key Features

  • Read-only cache, single port (5000), single container (distribution registry)
  • Cache expiry: 7 days
  • Access: this host and its Docker containers. Set BIND_ADDRESS at install to serve a LAN.

Plain HTTP

The cache has no TLS and no authentication. Serve a LAN only when you trust the LAN.

Install from armbian-config โ†’ Software โ†’ Management โ†’ registry-cache

CLI install
armbian-config --cmd REG001
Bash
./compile.sh OCI_PROXY=<address>:5000 ...
  • Cache: /armbian/registry-cache/data/
Bash
docker logs -f registry-cache

All armbian-config commands

Action Command
Install armbian-config --api module_registry_cache install
OCI registry cache remove armbian-config --api module_registry_cache remove
OCI registry cache purge with cache folder armbian-config --api module_registry_cache purge
Status armbian-config --api module_registry_cache status
Help armbian-config --api module_registry_cache help

Part of Armbian’s Remote File & Management tools software.