Subject: Using apt-cacher-ng as caching proxy

From: john doe <[email-masked]>
Date: Mon, 11 Apr 2022 19:51:22 +0200

Hello all,

I'm trying to use a caching proxy (apt-cacher-ng) but I can not get it
to work.

Alpine container:

$ cat /etc/apk/repositories
http://192.168.4.4:3142

In my acng.conf I have:
Remap-alpine: /alpine ; http://dl-cnd.alpinelinux.org/alpine

If I do 'apk update' it works but not if I do 'apk add <PKG>' I get an
'permission  denied' error.

Is anyone using apt-cacher-ng as caching proxy for the Alpine distribution.
If yes, would you mind sharing your working example?

Any help is appreciated.

--
John Doe