正在发声
  • 社群
  • 发帖
  • 创建社群
  • heart
    支持Lemmy
  • search
    搜索
  • 登录
  • 注册
Matt The Horwood@lemmy.horwood.cloud 发于 Selfhosted@lemmy.worldEnglish · 1 年前

AWS is having a bad day

health.aws.amazon.com

external-link
message-square
149
link
fedilink
495
external-link

AWS is having a bad day

health.aws.amazon.com

Matt The Horwood@lemmy.horwood.cloud 发于 Selfhosted@lemmy.worldEnglish · 1 年前
message-square
149
link
fedilink
  • Tolookah@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    38
    ·
    1 年前

    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
      ·
      1 年前

      You guys don’t selfhost a registry?

      • magguzu@lemmy.ml
        link
        fedilink
        English
        arrow-up
        11
        ·
        1 年前

        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
          ·
          1 年前

          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. And then juggle the url’s.

          • arcayne@lemmy.today
            link
            fedilink
            English
            arrow-up
            5
            ·
            1 年前

            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
        ·
        1 年前

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

        • lando55@lemmy.zip
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 年前

          Harbor

        • HelloRoot@lemy.lol
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 年前

          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
      ·
      1 年前

      Podman😉

      • tofu@lemmy.nocturnal.garden
        link
        fedilink
        English
        arrow-up
        2
        arrow-down
        1
        ·
        1 年前

        How does using Podman help when the registry is down?

    • moonpiedumplings@programming.dev
      link
      fedilink
      English
      arrow-up
      4
      ·
      1 年前

      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
      ·
      1 年前

      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.cloud楼主
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 年前

      Oh god, that just 404s for me

      • Trying2KnowMyself [they/them/their/theirs/themself@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 年前

        https://auth.docker.io/token

Selfhosted@lemmy.world

selfhosted@lemmy.world

从外站实例订阅

发帖
您尚未登录。但是您可以使用 Lemmy 或 Mastodon 等其他联邦宇宙帐户进行订阅。为此,请将以下内容粘贴到您所在实例的搜索框中:[email protected]

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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don’t duplicate the full text of your blog or readme if you’re providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

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!

可见性: 公开
globe

该社群可以联合到其他实例,并允许其它实例的用户发贴/评论。

  • 560 用户 / 日
  • 3.82K 用户 / 周
  • 6.52K 用户 / 月
  • 14.9K 用户 / 6 月
  • 1 本站订阅者
  • 64.2K 订阅者
  • 5.01K 条帖子
  • 114K 评论
  • 管理记录
  • 社群管理:
  • Ruud@lemmy.world
  • Loki@lemmy.world
  • CannaVet@lemmy.world
  • devve@lemmy.world
  • ayyy@sh.itjust.works
  • curbstickle@anarchist.nexus
  • curbstickle_lw@lemmy.world
  • BE: 0.19.21
  • 管理记录
  • 实例
  • 文档
  • 代码
  • join-lemmy.org