Run your own Alpine mirror for all your Alpine installations
1.7K

Run your own Alpine mirror for all your Alpine installations
What can I do with this? Host a local Alpine mirror. The mirror will only cache the versions you specified during start or the folders which are present in /mirror/var. All others versions will be proxied to the default CDN of Alpine. The mirror will auto update all packages if new packages are pushed by the Alpine team.
services:
alpine-mirror:
image: "11notes/alpine-mirror:stable"
container_name: "alpine-mirror"
command: [ "v3.19", "v3.20" ]
ports:
- "8080:8080"
volumes:
- "var:/mirror/var"
volumes:
var:
| Parameter | Value | Description |
|---|---|---|
user | docker | user docker |
uid | 1000 | user id 1000 |
gid | 1000 | group id 1000 |
home | /mirror | home directory of user docker |
| Parameter | Value | Default |
|---|---|---|
TZ | Time Zone | |
DEBUG | Show debug information | |
DNS | space separated list of DNS servers | 9.9.9.10 8.8.4.4 |
echo "net.ipv4.ip_unprivileged_port_start={n}" > /etc/sysctl.d/ports.confThis image is provided to you at your own risk. Always make backups before updating an image to a new version. Check the changelog for breaking changes. You can find all my repositories on github.
Content type
Image
Digest
sha256:44ed85ef4…
Size
16.5 MB
Last updated
over 1 year ago
docker pull 11notes/alpine-mirror:stable