docker-apt-cacher-ng icon indicating copy to clipboard operation
docker-apt-cacher-ng copied to clipboard

How to use it in aplications

Open tanja84dk opened this issue 6 years ago • 1 comments

I'm sorry for asking but do you have some guide on how to use the cache for the difference linux versions that it support.

The reason I ask is because I would love to use it to cache packages at this point for both ubuntu distros and alpine when I build images but I have no idea of how to tell the systems to use the apt-cacher-ng as proxy.

And later I'm also looking at creating docker images build on other distros

tanja84dk avatar Jun 07 '19 05:06 tanja84dk

@tanja84dk I realise your 'issue' is a very old one and almost certainly not relevant to you after all these years (and it seems this repo is no longer being maintained), but in case someone else stumbles upon this, on client machines (assuming they are using apt), edit/create /etc/apt/apt.conf.d/00aptproxy and add Acquire::http::Proxy "http://apt-cacher-ng-url:3142";.

techie2000 avatar Jun 03 '24 15:06 techie2000