Simple apk package cache for Alpine Linux
1.2K
Simple apk package cache for Alpine Linux
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>
Content type
Image
Digest
sha256:3d404cc7a…
Size
3.7 MB
Last updated
over 10 years ago
docker pull vektorlab/apk-cache