this post was submitted on 20 Oct 2025
458 points (98.7% liked)

Selfhosted

52649 readers
927 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] Tolookah@discuss.tchncs.de 36 points 1 week ago (5 children)
[–] HelloRoot@lemy.lol 19 points 1 week ago (1 children)

You guys don't selfhost a registry?

[–] SecureTaco@lemmy.asc6.org 3 points 1 week ago (2 children)

I hadn’t actually considered that before. What’s your preferred way to do that?

[–] lando55@lemmy.zip 4 points 1 week ago
[–] HelloRoot@lemy.lol 1 points 1 week ago* (last edited 1 week ago)

I have just this (which ironically won't work now cause docker hub is down)

services:
  registry:
    restart: always
    image: registry:2
    ports:
      - 5000:5000
    dns:
      - 9.9.9.9
      - 1.1.1.1
    volumes:
      - ../files/auth/registry.password:/auth/registry.password
      - registry-data:/var/lib/registry
    environment:
      REGISTRY_STORAGE_DELETE_ENABLED: true
      REGISTRY_HEALTH_STORAGEDRIVER_ENABLED: false
      REGISTRY_HTTP_SECRET: ${REGISTRY_HTTP_SECRET}
      REGISTRY_AUTH: htpasswd
      REGISTRY_AUTH_HTPASSWD_REALM: Registry Realm
      REGISTRY_AUTH_HTPASSWD_PATH: /auth/registry.password
      # REGISTRY_PROXY_REMOTEURL: "https://registry-1.docker.io/"

volumes:
  registry-data:

I don't even remember how and when I set it up. I think it might be this: https://github.com/distribution/distribution/releases/tag/v2.0.0

Recently somebody has created a frontend, which I bookmarked but didn't bother to set up: https://github.com/Joxit/docker-registry-ui

[–] spacelord@sh.itjust.works 12 points 1 week ago (1 children)
[–] tofu@lemmy.nocturnal.garden 1 points 1 week ago

How does using Podman help when the registry is down?

[–] krimson@lemmy.world 4 points 1 week ago

Yeah I ran into this as well. Wondered why it needs a call to auth for public container images in the first place.

[–] moonpiedumplings@programming.dev 4 points 1 week ago* (last edited 1 week ago)

mirror.gcr.io is google's public mirror of dockerhub.

https://moonpiedumplings.github.io/blog/docker-registry/