vyizis.tech
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Matt The Horwood@lemmy.horwood.cloud to Selfhosted@lemmy.worldEnglish · 4 days ago

AWS is having a bad day

health.aws.amazon.com

external-link
message-square
150
link
fedilink
495
external-link

AWS is having a bad day

health.aws.amazon.com

Matt The Horwood@lemmy.horwood.cloud to Selfhosted@lemmy.worldEnglish · 4 days ago
message-square
150
link
fedilink
  • Tolookah@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    38
    ·
    4 days ago

    The one that hits us in self hosted is https://auth.docker.io/

    • HelloRoot@lemy.lol
      link
      fedilink
      English
      arrow-up
      20
      arrow-down
      1
      ·
      4 days ago

      You guys don’t selfhost a registry?

      • magguzu@lemmy.ml
        link
        fedilink
        English
        arrow-up
        11
        ·
        4 days ago

        I know this is selfhosted so most people here are hobbyists, but it’s a ton of work to selfhost in enterprise setting. I’d wager 90%+ of people using image registries are using Docker Hub, GHCR, or AWS ECR.

        • HelloRoot@lemy.lol
          link
          fedilink
          English
          arrow-up
          3
          ·
          3 days ago

          For your personal use, you don’t need an enterprise setting. It’s just a simple compose file that you run.

          You can host a registry in pull through mode, so you still have all the images you use locally, but if it’s not in your registry yet, it pulls it from docker hub or whatever.

          The only pain point is that a single registry can’t do both. So if you want to push your own docker images AND have a “cache” of stuff from docker hub, you need to run two registries in two different modes.

          • arcayne@lemmy.today
            link
            fedilink
            English
            arrow-up
            5
            ·
            3 days ago

            Pretty sure you could run Pulp in pull-through mode and add your local Forgejo/whatever registry as a remote, which would at least give you a unified “pull” URL. Then just use Forgejo actions to handle the actual build/publish for your local images whenever you push to main (or tag a release, or whatever).

            Pulp might actually be able to handle both on its own, I haven’t ever tried though.

      • SecureTaco@lemmy.asc6.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        4 days ago

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

        • lando55@lemmy.zip
          link
          fedilink
          English
          arrow-up
          4
          ·
          4 days ago

          Harbor

        • HelloRoot@lemy.lol
          link
          fedilink
          English
          arrow-up
          1
          ·
          3 days 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
      link
      fedilink
      English
      arrow-up
      12
      ·
      4 days ago

      Podman😉

      • tofu@lemmy.nocturnal.garden
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        3 days ago

        How does using Podman help when the registry is down?

    • moonpiedumplings@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      ·
      3 days ago

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

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

    • krimson@lemmy.world
      link
      fedilink
      English
      arrow-up
      4
      ·
      4 days ago

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

    • Matt The Horwood@lemmy.horwood.cloudOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 days ago

      Oh god, that just 404s for me

      • Trying2KnowMyself@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        4
        ·
        4 days ago

        https://auth.docker.io/token

Selfhosted@lemmy.world

selfhosted@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !selfhosted@lemmy.world

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:

  • selfh.st Newsletter and index of selfhosted software and apps
  • awesome-selfhosted software
  • awesome-sysadmin resources
  • Self-Hosted Podcast from Jupiter Broadcasting

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

Questions? DM the mods!

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 1.52K users / day
  • 3.71K users / week
  • 7.55K users / month
  • 17K users / 6 months
  • 1 local subscriber
  • 52.5K subscribers
  • 3.44K Posts
  • 73.2K Comments
  • Modlog
  • mods:
  • Ruud@lemmy.world
  • Loki@lemmy.world
  • devve@lemmy.world
  • CannaVet@lemmy.world
  • HybridSarcasm@lemmy.world
  • HybridSarcasm@lemmy.hybridsarcasm.xyz
  • UI: unknown version
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org