# Alpine Mirror (apk registry) in Iran

Canonical: https://mirror.rasanegaar.com/guides/en/alpine.html
Language: en

Alpine mirror and apk registry for Alpine Linux from Iran — mirror.rasanegaar.com/apk/

Alpine mirror (apk registry) — For Alpine updates in Iran, Rasanegaar Mirror keeps the apk registry at /apk/ close to your Docker images and small systems.

## About

Alpine Linux is a small musl/apk distribution common in Docker images and appliances; every `apk update` moves real traffic.
main and community branches per release are pulled constantly in builds and CI; without a reachable registry, installs and upgrades from abroad drag.

## Mirror in Iran

The Alpine registry in Iran at `mirror.rasanegaar.com/apk` plays that local repository role so apk pulls from Rasanegaar.
See also the landing page at `/repos/alpine/`.

Browse URL: https://mirror.rasanegaar.com/apk/

## Configuration

1. Back up your apk repositories file.
2. Edit apk repositories and point them at the Rasanegaar Alpine registry (match the v3.xx branch to your release):
   ```
   /etc/apk/repositories
   ```
   ```
   https://mirror.rasanegaar.com/apk/v3.20/main
   ```
   ```
   https://mirror.rasanegaar.com/apk/v3.20/community
   ```
3. Refresh the package index:
   ```
   sudo apk update
   ```

## Updates

Alpine updates in Iran against the local registry usually finish faster than dl-cdn or official mirrors — especially in concurrent container builds.
After switching, keep your normal apk routine; keep the release branch (e.g. v3.xx) aligned with the installed system.

## Related

Registry landing: https://mirror.rasanegaar.com/repos/alpine/en/
Guide HTML: https://mirror.rasanegaar.com/guides/en/alpine.html
