专属域名
文档搜索
轩辕助手
Run助手
邀请有礼
返回顶部
快速返回页面顶部
收起
收起工具栏
轩辕镜像 官方专业版
轩辕镜像 官方专业版轩辕镜像 官方专业版官方专业版
首页个人中心搜索镜像

交易
充值流量我的订单
工具
提交工单镜像收录一键安装
Npm 源Pip 源Homebrew 源
帮助
常见问题
其他
关于我们网站地图

官方QQ群: 1072982923

gasparekatapy/seaweedfs Docker 镜像 - 轩辕镜像

seaweedfs
gasparekatapy/seaweedfs
SeaweedFS with peers detection in swarm for distributed master/filer
4 收藏0 次下载
🚀 稳定镜像源 = 更少宕机 + 更低运维成本
镜像简介版本下载
🚀 稳定镜像源 = 更少宕机 + 更低运维成本

Use as a command -peers=SERVICE_NAME:PORT The image gets the IP from the peers service name If no ip is found in peers ( like if there is no peers argument, for example ), uses the -ip=SERVICE_NAME as a fallback

Note: works well with docker volume seaweedfs plugin: [***]

Version 3.5.0 adds a remotesync.sh to be used for cloud storage 2-way sync. It expects a config.conf file with each line a mounted directory to sync

Version 3.4.3 adds a clean_log script to be used with swarm cronjob, to mitigate topics logs bloating by keeping only WEED_KEEP_DAYS days

Version 3.2.7 adds support for global filer and masters, and detection and removal at start of non reachable masters to keep the raft quorum, even in case of master node migration

Version 3.1.2 adds USE_HOSTNAME: "true" to change -ip= parameter to the local hostname, useful with filer

Version 3.1.1 adds USE_DISCOVER: "true" also for DETECT_MASTERS: "true" with assumption master hostnames is the value of -master o -mserver with added _TASKSLOT, i.e. master_1,master_2,master_3. Docker 20.10.0 auto creates alias for hostname if hostname != container

Version 3.1.0 Adds a discovery service, to be used in combination with envs DETECT_PEERS: "true", USE_DISCOVER: "true" and using as hostname hostname: "master_{{.Task.Slot}}" then the -ip and -peers are rebuild using the container hostnames. This is to try to keep the connections with same hostnames and overcame a limitation with master raft cluster when ips change due to docker redeploy

Version 3.0.0 Updates to latest seaweed code and adds DETECT_MASTERS: "true" to expand -master or -mserver to the internal IP list. DETECT_PEERS: "true" allows also to find the current container ip from the -ip=SERVICE_NAME:PORT command, bypassing the service name VIP, allowing SeaweedFS to handle correctly the connections like multiple filers

Version 2.7.4 Detecs from the -ip parameter the internal ip, and uses PUBLIC_URL as fallback. Fixes a "host unreachable" error when trying to connect from the container to the public ip derived from PUBLIC_URL on the same host as the container ( because of docker iptables isolation rules )

Version 2.6.1 Uses PUBLIC_URL for the -ip parameter. This avoids bad ip detection

Version 2.5.0 Uses the new parameter from upstream for weed mount -volumeServerAccess

Version 2.4.1 Added DETECT_PEERS to bypass DNS resolver for peers. Default is true for backward compatibility

Version 2.4.0 adds large version with :large tags

Version 2.3.0 adds support for volume publicUrl, leveraging Swarm {{.Node.Hostname}} template. If the server has a FQDN hostname, this enhancement allows to use weed mount -outsideContainerClusterMode with master, filer and volumes deployed in swarm

Example

version: '3.9'

services:
  master:
    image: gasparekatapy/seaweedfs
    environment:
      DETECT_MASTERS: "false"
      DETECT_PEERS: "true"
      USE_DISCOVER: "true"
      USE_HOSTNAME: "false"
      CLUSTER_SIZE: 3
    networks:
      - net
    hostname: "master_{{.Task.Slot}}"
    command:
      - 'master'
      - '-ip=master'
      - '-ip.bind=0.0.0.0'
      - '-port=9333'
      - '-port.grpc=***'
      - '-peers=master:9333'
      - '-resumeState=true'
      - '-raftHashicorp=true'
      - '-raftBootstrap=false'
    deploy:
      mode: global
      placement:
        constraints:
          - node.role == manager
      update_config:
        parallelism: 1
        failure_action: rollback
        order: stop-first

  filer:
    image: gasparekatapy/seaweedfs
    environment:
      DETECT_MASTERS: "true"
      DETECT_PEERS: "false"
      USE_DISCOVER: "true"
      USE_HOSTNAME: "true"
      CLUSTER_SIZE: 3
    ports:
      - "8888:8888"
      - "***:***"
    networks:
      - net
    hostname: "filer_{{.Task.Slot}}"
    command:
      - 'filer'
      - '-ip=filer'
      - '-ip.bind=0.0.0.0'
      - '-port=8888'
      - '-port.grpc=***'
      - '-port.readonly=28888'
      - '-master=master:9333'
    deploy:
      mode: replicated
      replicas: 3
      placement:
        max_replicas_per_node: 1
      update_config:
        parallelism: 1
        failure_action: rollback
        order: stop-first

  volume:
    image: gasparekatapy/seaweedfs
    environment:
      DETECT_MASTERS: "true"
      DETECT_PEERS: "false"
      USE_DISCOVER: "true"
      USE_HOSTNAME: "true"
      CLUSTER_SIZE: 3
      PUBLIC_URL: "{{.Node.Hostname}}:8080"
    ports:
      - target: 8080
        published: 8080
        protocol: tcp
        mode: host
      - target: ***
        published: ***
        protocol: tcp
        mode: host
    hostname: "volume_{{.Task.Slot}}"
    networks:
      - net
    command:
      - 'volume'
      - '-ip=volume'
      - '-ip.bind=0.0.0.0'
      - '-port=8080'
      - '-port.grpc=***'
      - '-mserver=master:9333'
    deploy:
      mode: global
      update_config:
        parallelism: 1
        failure_action: rollback
        order: stop-first

  clean_log:
    image: gasparekatapy/seaweedfs
    environment:
      WEED_MASTER: "master:9333"
      WEED_FILER: "filer:8888"
      WEED_KEEP_DAYS: 2
    networks:
      - net
    entrypoint: ["/clean_log.sh"]
    deploy:
      mode: replicated
      replicas: 0
      restart_policy:
        condition: none
      labels:
        # Swarm cronjob
        - swarm.cronjob.enable=true
        - swarm.cronjob.schedule=0 0 */3 * *
        - swarm.cronjob.skip-running=true

  remote2local:
    image: gasparekatapy/seaweedfs
    environment:
      WEED_SYNC_TYPE: "remote"
      WEED_MASTER: "master:9333"
      WEED_FILER: "filer:8888"
    volumes:
      - /path/to/config.conf:/config.conf
    networks:
      - net
    entrypoint: ["/remotesync.sh", "/config.conf"]
    deploy:
      mode: replicated
      replicas: 0
      restart_policy:
        condition: none
      labels:
        # Swarm cronjob
        - swarm.cronjob.enable=true
        - swarm.cronjob.schedule=0 * * * *
        - swarm.cronjob.skip-running=true

  local2remote:
    image: gasparekatapy/seaweedfs
    environment:
      WEED_SYNC_TYPE: "local"
      WEED_MASTER: "master:9333"
      WEED_FILER: "filer:8888"
    volumes:
      - /path/to/config.conf:/config.conf
    networks:
      - net
    entrypoint: ["/remotesync.sh", "/config.conf"]
    deploy:
      mode: replicated
      replicas: 1
      placement:
        max_replicas_per_node: 1
        preferences:
          - spread: node.labels.datacenter

Works also for -filer.peers and -master.peers for server mode.

NOTE

Version 2.0.0+ is based on a custom build of source code and dockerfile to fix WebDAV error for small files ( < 512 Bytes ) with no mime type.

This version does not install supercronic in the image

查看更多 seaweedfs 相关镜像 →
bitnamicharts/seaweedfs logo
bitnamicharts/seaweedfs
Bitnami提供的用于在Kubernetes环境中部署和管理SeaweedFS分布式文件系统的Helm chart。
500K+ pulls
上次更新:未知
bitnami/seaweedfs logo
bitnami/seaweedfs
Bitnami Secure Image提供的SeaweedFS是一个简单且高度可扩展的分布式文件系统镜像,适用于开发环境,具备安全优化特性。
150K+ pulls
上次更新:未知
chrislusf/seaweedfs logo
chrislusf/seaweedfs
SeaweedFS的官方Docker构建镜像
445M+ pulls
上次更新:未知
wsdx/seaweedfs logo
wsdx/seaweedfs
暂无描述
10K+ pulls
上次更新:未知
labring/seaweedfs logo
labring/seaweedfs
暂无描述
10K+ pulls
上次更新:未知

轩辕镜像配置手册

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式

登录仓库拉取

通过 Docker 登录认证访问私有仓库

Linux

在 Linux 系统配置镜像服务

Windows/Mac

在 Docker Desktop 配置镜像

Docker Compose

Docker Compose 项目配置

K8s Containerd

Kubernetes 集群配置 Containerd

K3s

K3s 轻量级 Kubernetes 镜像加速

Dev Containers

VS Code Dev Containers 配置

MacOS OrbStack

MacOS OrbStack 容器配置

宝塔面板

在宝塔面板一键配置镜像

群晖

Synology 群晖 NAS 配置

飞牛

飞牛 fnOS 系统配置镜像

极空间

极空间 NAS 系统配置服务

爱快路由

爱快 iKuai 路由系统配置

绿联

绿联 NAS 系统配置镜像

威联通

QNAP 威联通 NAS 配置

Podman

Podman 容器引擎配置

Singularity/Apptainer

HPC 科学计算容器配置

其他仓库配置

ghcr、Quay、nvcr 等镜像仓库

专属域名拉取

无需登录使用专属域名

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

轩辕镜像免费版与专业版有什么区别?

免费版仅支持 Docker Hub 访问,不承诺可用性和速度;专业版支持更多镜像源,保证可用性和稳定速度,提供优先客服响应。

轩辕镜像支持哪些镜像仓库?

专业版支持 docker.io、gcr.io、ghcr.io、registry.k8s.io、nvcr.io、quay.io、mcr.microsoft.com、docker.elastic.co 等;免费版仅支持 docker.io。

流量耗尽错误提示

当返回 402 Payment Required 错误时,表示流量已耗尽,需要充值流量包以恢复服务。

410 错误问题

通常由 Docker 版本过低导致,需要升级到 20.x 或更高版本以支持 V2 协议。

manifest unknown 错误

先检查 Docker 版本,版本过低则升级;版本正常则验证镜像信息是否正确。

镜像拉取成功后,如何去掉轩辕镜像域名前缀?

使用 docker tag 命令为镜像打上新标签,去掉域名前缀,使镜像名称更简洁。

查看全部问题→

用户好评

来自真实用户的反馈,见证轩辕镜像的优质服务

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
gasparekatapy/seaweedfs
官方博客Docker 镜像使用技巧与技术博客
热门镜像查看热门 Docker 镜像推荐
一键安装一键安装 Docker 并配置镜像源
咨询镜像拉取问题请 提交工单,官方技术交流群:1072982923
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
咨询镜像拉取问题请提交工单,官方技术交流群:
轩辕镜像面向开发者与科研用户,提供开源镜像的搜索和访问支持。所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
官方邮箱:点击复制邮箱
©2024-2026 源码跳动
官方邮箱:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.