News for hackers. Stuff that matters.
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...
Re:Docker to rate limit image pulls by Spivak on Tuesday August 25, 2020 @10:35AM (#24271742)
Docker supports proxies (they call them “pullthrough repos”) so you don’t have to be so generic as an http proxy.
Re:Docker to rate limit image pulls by efrecon on Tuesday August 25, 2020 @03:26AM (#24268893)
I would stay away from Nexus. It has problems with latest tags.
Re:Docker to rate limit image pulls by mvanbaak on Monday August 24, 2020 @07:03PM (#24266490)
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...
Re:Docker to rate limit image pulls by Spivak on Tuesday August 25, 2020 @10:41AM (#24271797)
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.