Re:Docker to rate limit image pulls
by mschuster91 on Monday August 24, 2020 @06:20PM
(#24266195)
Just drop a Sonatype Nexus instance on a Docker container somewhere on your network. Alternatively, use Squid if you don't push to the public Docker registry, although you might need to mess around with internal CA for SSL...
[ Parent
| on HN ]
Docker supports proxies (they call them “pullthrough repos”) so you don’t have to be so generic as an http proxy.
I would stay away from Nexus. It has problems with latest tags.
Nexus in a container... because storage in containers is such a good idea? Any vps with a disk is probably a better idea
Re:Docker to rate limit image pulls
by 1337shadow on Monday August 24, 2020 @07:08PM
(#24266521)
You can still bind mount a directory into a container...
Storage in containers has been a long solved issue. The defaults are unfortunate because but make sense for ease of use. Your container root should be read only, ephemeral storage lives in a tmpfs or dynamic volumes depending on performance and size needs, and persistent storage lives in volumes.