4 ms·
Self hosted Docker registry with auto image push on push to main
- bluocms 4y agoInstead of ngnix you could use caddy as a docker container too.
- ZiiS 4y agoWhilst I self host many things, if you are using GitHub actions then they provide a free Docker registry I have never had any issues with. https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-container-registry https://docs.github.com/en/packages/working-with-a-github-pa...
- feet 4y agoIf you're self hosting, why would you use github?
- cal85 4y agoNot OP but self hosting isn’t all or nothing. I self host a few things but wouldn’t currently switch from GitHub because: it’s pretty cheap, it works well, its popularity adds some useful network effects, and Actions is a nice CI solution for some projects. If I were to self host a git remote I’d probably end up still using GitHub for certain projects (especially OSS). I’d rather have all my code projects in one place for simplicity. Can’t see any strong arguments for self hosting GitHub currently, other than to satisfy a perfectionist urge to get to 100% self hosting.
- thunderbong 4y agoAgreed. Same here. The post was about self-hosting though.
- asadawadia 4y agoOnly 500MB of storage [same as DigitalOcean's free repo] - which isn't enough
- robertlagrant 4y agoBeautiful blog post. Very clean technically, verbally, and visually.
- asadawadia 4y agoThank you :)
- redox99 4y agoI use self hosted Gitlab, which provides docker registry and much more. I recommend checking it out.
- hardwaresofton 4y agoThis project sounds awesome, maybe dokku[0] and caprover[1] might serve as inspiration for next steps. [0]: https://dokku.com/ https://dokku.com/ [1]: https://caprover.com/ https://caprover.com/
- geektips 4y agoCoolify[0] is another good option. [0]: https://coolify.io/ https://coolify.io/
- justsomehnguy 4y agoI would agree on using caddy (or traefik) as a web-server, because of a built-in ACME support. The one thing what doesn't get covered on this topic is how to make multiple users. For what it worth I never needed to mess with htpasswd in my life ever. Overall it is a good recipe on how to make you own registry, kudos.
- unequiv88 4y agoI for one would love to see self hosted Docker become the norm. 1:1 and 1:many Docker hosting between the masses. Decouple IT from corporate monoliths.