4 ms·
> This did not solve the problem of slow speeds, but the only alternative was to use our own Docker Registry, which is ridiculously complex. I feel like if you
by omni 12y ago
> This did not solve the problem of slow speeds, but the only alternative was to use our own Docker Registry, which is ridiculously complex.
I feel like if you're going to criticize running your own registry you really need to devote more time to it. You can get an S3-backed, distributed private registry running in about 5 minutes using their provided image. It's really, really easy.
- sleepycal 12y agoThank you for the feedback. Although the README looks slightly easier than previous, it still makes for difficult reading, and I'd argue that they need to document this better. Unless you have a link to somewhere this has already been done? (a quick 5 minute look on Google didn't give any definitive answer)
- omni 12y agoI don't have a link to any improved docs,no. I did set up a private registry at my company though and I remember it being quite painless. We just run the stock image, pass our credentials to it via environment variables, and it Just Works™. I think the README is verbose because there are a lot of options when it comes to running the thing. If you know off the bat that S3 is what you want, though, I think you can read it in a pretty targeted fashion.
- Gigablah 12y agoGetting the private registry to work with TLS is really painful though: https://github.com/docker/docker-registry/issues/541 https://github.com/docker/docker-registry/issues/541
- jamshid 12y agoTrue, I finally broke down and just added "--insecure-registry" (it's just a cert verification issue, the connection is secure regardless). Will try again later, sounds like they're planning major registry changes anyway. Anyway, while the S3 backed private registry is kinda slow, it works and it's literally a single docker run. I'm not sure how it could be simpler. https://github.com/docker/docker-registry/blob/master/ADVANCED.md#non-amazon-s3-compliant-object-stores-eg-ceph-and-riak-cs https://github.com/docker/docker-registry/blob/master/ADVANC...