from Hacker News

Self hosted Docker registry with auto image push on push to main

by asadawadia on 11/7/22, 3:35 AM with 13 comments

  • by ZiiS on 11/7/22, 7:44 AM

    Whilst 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-pa...

  • by hardwaresofton on 11/7/22, 1:32 PM

    This project sounds awesome, maybe dokku[0] and caprover[1] might serve as inspiration for next steps.

    [0]: https://dokku.com/

    [1]: https://caprover.com/

  • by bluocms on 11/7/22, 9:58 AM

    Instead of ngnix you could use caddy as a docker container too.
  • by redox99 on 11/7/22, 12:58 PM

    I use self hosted Gitlab, which provides docker registry and much more. I recommend checking it out.
  • by justsomehnguy on 11/7/22, 4:18 PM

    I 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.

  • by robertlagrant on 11/7/22, 12:29 PM

    Beautiful blog post. Very clean technically, verbally, and visually.
  • by unequiv88 on 11/7/22, 5:27 PM

    I 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.