Sign inSign up

vektorlab/apk-cache

By vektorlab

•Updated over 10 years ago

Simple apk package cache for Alpine Linux

Image
1

1.2K

vektorlab/apk-cache repository overview

⁠apk-cache

Simple apk package cache for Alpine Linux

⁠Quickstart

Start apk-cache container:

docker run -d --name=apk-cache bcicen/apk-cache

After apk-cache is up, start any subsquent containers with a link to the cache:

docker run -ti --link apk-cache:dl-4.alpinelinux.org alpine:latest /bin/sh

To alternatively avoid having to link every running container, publish port 80 to the host:

docker run -d -p 80:80 --name=apk-cache bcicen/apk-cache

and overwrite resolution of dl-4.alpinelinux.org using the IP of the Docker host via dnsmasq or the docker run option --add-host dl-4.alpinelinux.org:<HOST-IP>

Tag summary

Content type

Image

Digest

sha256:3d404cc7a…

Size

3.7 MB

Last updated

over 10 years ago

docker pull vektorlab/apk-cache