Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vektorcloud/apk-cache

Simple apk package cache for Alpine Linux
https://github.com/vektorcloud/apk-cache

Last synced: 5 days ago
JSON representation

Simple apk package cache for Alpine Linux

Awesome Lists containing this project

README

        

# apk-cache

[![circleci][circleci]](https://circleci.com/gh/vektorcloud/apk-cache)

Simple apk package cache for Alpine Linux

# Quickstart

Start apk-cache container:
```bash
docker run -d --name=apk-cache quay.io/vektorcloud/apk-cache:latest
```

After apk-cache is up, start any subsquent containers with a link to the cache:
```bash
docker run -ti --link apk-cache:dl-cdn.alpinelinux.org alpine:latest /bin/sh
```

To alternatively avoid having to link every running container, publish port 80 to the host:
```bash
docker run -d -p 80:80 --name=apk-cache quay.io/vektorcloud/apk-cache:latest
```

and override resolution of dl-cdn.alpinelinux.org using the IP of the Docker host via dnsmasq or the docker run option `--add-host dl-cdn.alpinelinux.org:`

[circleci]: https://img.shields.io/circleci/build/gh/vektorcloud/apk-cache?color=1dd6c9&logo=CircleCI&logoColor=1dd6c9&style=for-the-badge "apk-cache"