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

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

官方QQ群: 1072982923

lensorai/docker-daheng-sdk Docker 镜像 - 轩辕镜像 | Docker 镜像高效稳定拉取服务

热门搜索:openclaw🔥nginx🔥redis🔥mysqlopenjdkcursorweb2apimemgraphzabbixetcdubuntucorednsjdk
docker-daheng-sdk
lensorai/docker-daheng-sdk
lensorai
Repository containing docker daheng sdk
下载次数: 0状态:社区镜像维护者:lensorai仓库类型:镜像最近更新:4 个月前
轩辕镜像,快一点,稳很多。点击查看
镜像简介版本下载
轩辕镜像,快一点,稳很多。点击查看

docker-daheng-sdk

Minimal Docker image containing the Daheng Galaxy camera SDK (GiGE/U3 variant) for containerized camera driver functionality. This image is designed to be used as a base image or copied into other images to minimize bloat while providing full camera driver support.

Overview

The Daheng Galaxy SDK enables communication with GiGE Vision and USB3 Vision cameras. This repository packages the SDK in a lightweight Docker image using a multi-stage build strategy that strips unnecessary build artifacts, resulting in a minimal runtime footprint.

Key Features
  • Minimal Image Size: Multi-stage build reduces final image size by excluding build tools and installer artifacts
  • Multi-Version Support: Build and tag multiple SDK versions simultaneously via .versions configuration
  • Hardware-Agnostic: Works with any GiGE or USB3 Vision-compliant camera
  • Easy Integration: Copy SDK libraries and configuration into your own images
  • Automated Builds: Docker Hub hooks automatically build and push all configured versions

Quick Start

Pull the Image
bash
docker pull lensorai/docker-daheng-sdk:latest

Available tags:

  • latest - Latest stable SDK version
  • 2.4.2503 - Specific version (or any version in .versions)
  • Commit SHA tags for reproducible builds
Use in Your Image

To use the Galaxy SDK in your own Docker image, copy the necessary libraries and configuration from this base image:

dockerfile
FROM lensorai/docker-daheng-sdk:latest AS sdk-base
FROM ubuntu:24.04

# Copy Galaxy SDK libraries
COPY --from=sdk-base /usr/lib/GxGVTL.cti /usr/lib/
COPY --from=sdk-base /usr/lib/GxU3VTL.cti /usr/lib/
COPY --from=sdk-base /usr/lib/libgxiapi.so /usr/lib/

# Copy security limits configuration
COPY --from=sdk-base /etc/security/limits.d/galaxy-limits.conf /etc/security/limits.d/

# Your application code
COPY . /app
WORKDIR /app
CMD ["./your-app"]
Build Locally
bash
cd balena/
docker build -t daheng-sdk:local .

To build a specific SDK version:

bash
docker build \
  --build-arg GALAXY_SDK_VERSION="Galaxy_Linux-x86_Gige-U3_32bits-64bits_2.4.2503.9201" \
  -t daheng-sdk:2.4.2503 \
  balena/

What's Included

The final image contains only the minimal set of libraries required for camera communication:

FilePurpose
libgxiapi.soMain Galaxy SDK API library for camera control and image acquisition
GxGVTL.ctiGigE Vision Transport Layer for network-based cameras
GxU3VTL.ctiUSB3 Vision Transport Layer for USB-connected cameras
galaxy-limits.confSecurity limits configuration for camera resource access

Build artifacts removed:

  • Galaxy SDK installer (Galaxy_camera.run)
  • Installation files and documentation
  • Build tools (unzip)
  • Package cache

Architecture

Multi-Stage Build Process
  1. Build Stage (base)

    • Downloads and extracts Galaxy SDK .zip
    • Runs the interactive installer with automated responses
    • Installs required dependencies (unzip)
    • Generates system library cache (ldconfig)
  2. Final Stage (final)

    • Copies only essential runtime libraries
    • Copies security configuration
    • Discards all build artifacts
    • Results in ~50MB minimal image
Build Context
  • Dockerfile Path: balena/Dockerfile
  • Build Context: Root of repository (/)
  • SDK Source: files/ directory (pre-staged .zip archives)

Version Management

Current Versions

Configured versions are listed in .versions (one per line):

Galaxy_Linux-x86_Gige-U3_32bits-64bits_2.4.2503.9201
Adding a New SDK Version
  1. Download the Galaxy SDK from Daheng and place the .zip file in files/
  2. Update .versions:
    Galaxy_Linux-x86_Gige-U3_32bits-64bits_2.5.0000.0000   # New version (will be tagged as latest)
    Galaxy_Linux-x86_Gige-U3_32bits-64bits_2.4.2503.9201   # Previous version
    
    (First line becomes latest tag)
  3. Push to GitHub - Docker Hub hooks will automatically build all versions
Version Tagging

Each version receives three tags:

  • Version tag (e.g., 2.4.2503) - Extracted from version string via regex
  • latest - Only the first version in .versions gets this tag
  • Commit SHA - Git commit hash for reproducible builds

Docker Hub Integration

Automatic Builds

This repository uses Docker Hub automated builds with custom hooks:

  • Hook Scripts: balena/hooks/build and balena/hooks/push
  • Docker Hub Repo: [***]
  • Build Trigger: Any push to development or main branch
Configuration

Docker Hub repository settings:

Dockerfile Path: balena/Dockerfile
Build Context: / (root of repository)

The build hook:

  • Reads .versions file
  • Builds each version with appropriate tags
  • Tags first version as latest
  • Tags all versions with commit SHA

The push hook:

  • Pushes all generated tags
  • Extracts version tags from built images

Platform Support

  • Architecture: linux/amd64 (locked for camera SDK binary compatibility)
  • Base OS: Ubuntu 24.04 LTS
  • Kernel: Requires linux/amd64 host or QEMU emulation

Technical Details

SDK Installer Responses

The Galaxy SDK installer is interactive. Responses are automated via:

bash
printf "\nY\nEn\n" | ./Galaxy_camera.run
  • \n - Skip initial prompt
  • Y - Accept license agreement
  • En - Select English language

⚠️ Note: If updating the SDK, verify these prompts haven't changed with the new version.

Security Limits Configuration

The Galaxy SDK requires elevated resource limits. The galaxy-limits.conf file sets:

  • Maximum open files
  • Maximum processes per user
  • Memory limits for camera operations

This file is copied to /etc/security/limits.d/ in the final image.

Library Dependencies

The three library files have specific purposes in the Galaxy SDK:

  • libgxiapi.so - Core API for:

    • Camera discovery and enumeration
    • Image acquisition and streaming
    • Parameter control and read-write access
    • Event handling
  • GxGVTL.cti - Enables communication with:

    • GigE Vision cameras (network-connected)
    • Implements the GENICAM standard transport layer
  • GxU3VTL.cti - Enables communication with:

    • USB3 Vision cameras (directly connected)
    • Alternative transport layer for USB-connected devices

Troubleshooting

Camera Not Detected
  1. Verify libraries are copied correctly in your image:

    bash
    docker run <image> ls -la /usr/lib/libgxiapi.so /usr/lib/Gx*VTL.cti
    
  2. Check security limits are configured:

    bash
    docker run <image> cat /etc/security/limits.d/galaxy-limits.conf
    
  3. For GigE cameras, ensure network access:

    bash
    docker run --network host <image> # Run with host network if needed
    
Build Fails During Installation

If the build fails during Galaxy_camera.run execution:

  1. Verify the .zip file in files/ matches the GALAXY_SDK_VERSION ARG
  2. Check that the directory inside the .zip matches the version string
  3. Verify SDK version supports the installer responses (may need updating)
Image Size Larger Than Expected

Debug by inspecting the build stage:

bash
# Temporarily modify Dockerfile to keep build stage
docker build \
  --target base \
  -t daheng-sdk:debug-base \
  balena/
  
docker run daheng-sdk:debug-base du -sh /usr/lib/*

Development & Contributing

Local Testing

Build the image locally:

bash
cd balena/
docker build -t daheng-sdk:test .

Test camera access:

bash
docker run --rm daheng-sdk:test ls -la /usr/lib/libgxiapi.so
Modifying the Build

To add dependencies or modify the build process:

  1. Edit balena/Dockerfile
  2. Test locally with docker build
  3. Commit to GitHub
  4. Docker Hub hooks will automatically rebuild all versions
Adding New Libraries

If you need additional runtime libraries from the SDK:

  1. Install in the build stage with apt-get
  2. Add to the COPY --from=base command in the final stage
  3. Update .github/copilot-instructions.md with the new library purpose

Related Resources

  • Galaxy SDK Documentation: Check Daheng's official documentation for SDK API reference
  • Docker Hub: [***]
  • Repository: [***]
  • GigE Vision Standard: [***]
  • USB3 Vision Standard: [***]

License

The Galaxy SDK is proprietary software from Daheng. This Docker image distribution is provided as-is for integration with Galaxy SDK-compatible applications. See Daheng's terms for SDK licensing.

查看更多 docker-daheng-sdk 相关镜像 →
docker/dockerfile logo
docker/dockerfile
Docker 官方工具与组件镜像
这些是官方提供的Dockerfile前端镜像,主要功能是支持通过BuildKit构建Dockerfile,作为构建流程中的关键前端工具,能够有效配合BuildKit提升Dockerfile的构建效率、安全性与灵活性,为开发者提供官方认可的标准化构建方案,适用于各类基于Docker的应用开发与部署场景,确保构建过程的稳定可靠及操作便捷性。
125 次收藏5亿+ 次下载
4 天前更新
docker/dockerfile-copy logo
docker/dockerfile-copy
Docker 官方工具与组件镜像
此Docker镜像已被弃用。
1 次收藏5000万+ 次下载
7 年前更新
docker/docker-model-backend-llamacpp logo
docker/docker-model-backend-llamacpp
Docker 官方工具与组件镜像
暂无描述
1 次收藏5000万+ 次下载
18 天前更新
docker/docker-mcp-cli-desktop-module logo
docker/docker-mcp-cli-desktop-module
Docker 官方工具与组件镜像
暂无描述
500万+ 次下载
23 小时前更新
docker/welcome-to-docker logo
docker/welcome-to-docker
Docker 官方工具与组件镜像
供Docker新手入门使用的Docker镜像。
71 次收藏500万+ 次下载
7 个月前更新
docker/desktop-docker-debug-service logo
docker/desktop-docker-debug-service
Docker 官方工具与组件镜像
暂无描述
500万+ 次下载
2 个月前更新

轩辕镜像配置手册

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

Docker 配置

登录仓库拉取

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

专属域名拉取

无需登录使用专属域名

K8s Containerd

Kubernetes 集群配置 Containerd

K3s

K3s 轻量级 Kubernetes 镜像加速

Dev Containers

VS Code Dev Containers 配置

Podman

Podman 容器引擎配置

Singularity/Apptainer

HPC 科学计算容器配置

其他仓库配置

ghcr、Quay、nvcr 等镜像仓库

Harbor 镜像源配置

Harbor Proxy Repository 对接专属域名

Portainer 镜像源配置

Portainer Registries 加速拉取

Nexus 镜像源配置

Nexus3 Docker Proxy 内网缓存

系统配置

Linux

在 Linux 系统配置镜像服务

Windows/Mac

在 Docker Desktop 配置镜像

MacOS OrbStack

MacOS OrbStack 容器配置

Docker Compose

Docker Compose 项目配置

NAS 设备

群晖

Synology 群晖 NAS 配置

飞牛

飞牛 fnOS 系统配置镜像

绿联

绿联 NAS 系统配置镜像

威联通

QNAP 威联通 NAS 配置

极空间

极空间 NAS 系统配置服务

网络设备

爱快路由

爱快 iKuai 路由系统配置

宝塔面板

在宝塔面板一键配置镜像

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

镜像拉取常见问题

使用与功能问题

配置了专属域名后,docker search 为什么会报错?

docker search 限制

Docker Hub 上有的镜像,为什么在轩辕镜像网站搜不到?

站内搜不到镜像

机器不能直连外网时,怎么用 docker save / load 迁镜像?

离线 save/load

docker pull 拉插件报错(plugin v1+json)怎么办?

插件要用 plugin install

WSL 里 Docker 拉镜像特别慢,怎么排查和优化?

WSL 拉取慢

轩辕镜像安全吗?如何用 digest 校验镜像没被篡改?

安全与 digest

第一次用轩辕镜像拉 Docker 镜像,要怎么登录和配置?

新手拉取配置

错误码与失败问题

docker pull 提示 manifest unknown 怎么办?

manifest unknown

Docker pull 时 HTTPS / TLS 证书验证失败怎么办?

TLS 证书失败

Docker pull 时 DNS 解析超时或连不上仓库怎么办?

DNS 超时

Docker 拉取出现 410 Gone 怎么办?

410 Gone 排查

出现 402 或「流量用尽」提示怎么办?

402 与流量用尽

Docker 拉取提示 UNAUTHORIZED(401)怎么办?

401 认证失败

遇到 429 Too Many Requests(请求太频繁)怎么办?

429 限流

docker login 提示 Cannot autolaunch D-Bus,还算登录成功吗?

D-Bus 凭证提示

为什么会出现「单层超过 20GB」或 413,无法加速拉取?

413 与超大单层

账号 / 计费 / 权限

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

免费版与专业版区别

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

支持的镜像仓库

镜像拉取失败还会不会扣流量?

失败是否计费

麒麟 V10 / 统信 UOS 提示 KYSEC 权限不够怎么办?

KYSEC 拦截脚本

如何在轩辕镜像申请开具发票?

申请开票

怎么修改轩辕镜像的网站登录和仓库登录密码?

修改登录密码

如何注销轩辕镜像账户?要注意什么?

注销账户

配置与原理类

写了 registry-mirrors,为什么还是走官方或仍然报错?

mirrors 不生效

怎么用 docker tag 去掉镜像名里的轩辕域名前缀?

去掉域名前缀

如何拉取指定 CPU 架构的镜像(如 ARM64、AMD64)?

指定架构拉取

用轩辕镜像拉镜像时快时慢,常见原因有哪些?

拉取速度原因

查看全部问题→

用户好评

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

用户头像

oldzhang

运维工程师

Linux服务器

5

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

轩辕镜像
镜像详情
...
lensorai/docker-daheng-sdk
博客公告Docker 镜像公告与技术博客
热门镜像查看热门 Docker 镜像推荐
一键安装一键安装 Docker 并配置镜像源
镜像拉取问题咨询请 提交工单,官方技术交流群:1072982923。轩辕镜像所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
镜像拉取问题咨询请提交工单,官方技术交流群:。轩辕镜像所有镜像均来源于原始仓库,本站不存储、不修改、不传播任何镜像内容。
商务合作:点击复制邮箱
©2024-2026 源码跳动
商务合作:点击复制邮箱Copyright © 2024-2026 杭州源码跳动科技有限公司. All rights reserved.