轩辕镜像 官方专业版
轩辕镜像
专业版
轩辕镜像 官方专业版
轩辕镜像
专业版
首页个人中心搜索镜像
交易
充值流量¥7起我的订单
文档
工具
提交工单页面收录
jena-fuseki-docker

psiwon/jena-fuseki-docker

psiwon

Docker image for Apache Jena Fuseki, a SPARQL server and RDF database. Supports Jena 6.0.0+ versions

下载次数: 0状态:社区镜像维护者:psiwon仓库类型:镜像最近更新:3 个月前
让 AI 帮你使用轩辕镜像? · 展开查看说明 · 点击收起说明

如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。

只需在 AI 对话中先发送下面这句话即可:

请先完整阅读并严格遵守以下文档中的全部规则与要求:

https://xuanyuan.cloud/agents.md

在未充分阅读并理解该文档前,不要生成任何命令、配置、修改建议、故障排查方案或技术回答。后续所有输出都必须严格以该文档中的规范为最高优先级执行。

查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。

镜像简介
下载命令
镜像标签列表与下载命令
使用轩辕镜像,把时间还给真正重要的事。
点击查看

Apache Jena Fuseki Docker

https://img.shields.io/docker/pulls/psiwon/jena-fuseki-docker](https://hub.docker.com/r/psiwon/jena-fuseki-docker) https://img.shields.io/docker/image-size/psiwon/jena-fuseki-docker](https://hub.docker.com/r/psiwon/jena-fuseki-docker) https://img.shields.io/github/license/siwonpawel/jena-fuseki-docker](LICENSE) https://img.shields.io/github/actions/workflow/status/siwonpawel/jena-fuseki-docker/docker-image.yaml?label=CI](https://github.com/siwonpawel/jena-fuseki-docker/actions/workflows/docker-image.yaml)

Docker image for https://jena.apache.org/documentation/fuseki2/ — a SPARQL 1.1 server backed by the Apache Jena TDB RDF triple store.

Docker image: https://hub.docker.com/r/psiwon/jena-fuseki-docker
Source: https://github.com/siwonpawel/jena-fuseki-docker · Dockerfile
Base image: eclipse-temurin:21-alpine → alpine:3.21.2 (with jlink-optimized minimal JRE)
Platforms: linux/amd64, linux/arm64

Disclaimer

This repository contains modified files derived from the official Apache Jena Docker tooling published in the Apache Jena source tree at https://github.com/apache/jena/tree/f8ab05095fe532460b77e7d355fc27934eee9edd/jena-fuseki2/jena-fuseki-docker.

Those files were adapted to support this repository's build, packaging, and publishing workflow for the Docker Hub image psiwon/jena-fuseki-docker.

This repository is based on Apache Jena materials distributed under the Apache License 2.0. It is an independent derivative work and is not an official Apache Software Foundation release.

Supported Versions

Only Apache Jena 6.0.0 and newer are supported by this repository and its published Docker images.

Versions older than 6.0.0 are out of scope for this image and are not documented or tested here.

Overview

This image runs Apache Jena Fuseki in full server mode with the Web UI enabled by default (serverui mode). The browser-based management interface is available at http://localhost:3030/ immediately after starting the container — no extra flags needed.

Key design decisions:

  • Web UI on by default — runs FusekiServerUICmd out of the box, giving you the full Fuseki dataset management console.
  • Minimal Alpine image — the final image is based on alpine:3.21.2 with a custom JRE built using jlink, minimising the image footprint.
  • Maven Central download — the Fuseki server JAR is downloaded from https://repo1.maven.org/maven2/org/apache/jena/jena-fuseki-server/ and SHA1-verified at build time.
  • Multi-platform — published for both linux/amd64 and linux/arm64.
  • Switchable server mode — the MAIN environment variable lets you choose among four Fuseki operating modes without rebuilding.

Features

  • Apache Jena Fuseki Web UI enabled by default
  • SPARQL 1.1 query, update, and Graph Store Protocol endpoints
  • TDB1 and TDB2 triple-store backends
  • Lightweight Alpine base with jlink-optimized minimal JRE (Eclipse Temurin 21)
  • SHA1-verified JAR download from Maven Central
  • Multi-platform: linux/amd64 and linux/arm64
  • Persistent storage via Docker volumes (/fuseki/databases, /fuseki/logs)
  • Four configurable server modes via MAIN environment variable
  • Extensible classpath via /fuseki/extra/

Quick Start

bash
docker run -p 3030:3030 psiwon/jena-fuseki-docker:6.0.0 --mem /ds

The Fuseki Web UI will be available at http://localhost:3030/.

Pulling the Image

Tags correspond to the Apache Jena release version. Only tags for supported versions (6.0.0+) should be ***ed valid for use:

bash
docker pull psiwon/jena-fuseki-docker:6.0.0

Running the Container

Default mode — Fuseki with Web UI

Start Fuseki with an in-memory dataset at /ds:

bash
docker run -p 3030:3030 psiwon/jena-fuseki-docker:6.0.0 --mem /ds

Start Fuseki with a persistent TDB2 dataset:

bash
mkdir -p databases/DB2

docker run -p 3030:3030 \
  --mount type=bind,src="$PWD/databases",dst=/fuseki/databases \
  psiwon/jena-fuseki-docker:6.0.0 \
  --tdb2 --update --loc databases/DB2 /ds

Change the exposed port

bash
docker run -p 8080:3030 psiwon/jena-fuseki-docker:6.0.0 --mem /ds

Run without Web UI

Switch to headless mode using the MAIN environment variable:

bash
docker run -p 3030:3030 -e MAIN=main psiwon/jena-fuseki-docker:6.0.0 --mem /ds

Run in the background

bash
docker run -d --name fuseki -p 3030:3030 \
  --mount type=bind,src="$PWD/databases",dst=/fuseki/databases \
  psiwon/jena-fuseki-docker:6.0.0 \
  --tdb2 --update --loc databases/DB2 /ds

Environment Variables

VariableDefaultDescription
MAINserveruiServer mode — see Server Modes
JVM_ARGS(unset)JVM arguments passed directly to java (e.g. -Xmx4g -Xms1g)
JAVA_HOME/opt/java-minimalPath to the bundled minimal JRE
JENA_VERSION(set at build time)Fuseki version baked into the image
FUSEKI_DIR/fusekiFuseki installation directory
FUSEKI_JAR(set at build time)Filename of the server JAR

Override JVM heap size

bash
docker run -p 3030:3030 \
  -e JVM_ARGS="-Xmx8g -Xms2g" \
  psiwon/jena-fuseki-docker:6.0.0 --mem /ds

Server Modes

The MAIN environment variable controls which Fuseki entry point is used:

MAIN valueJava classDescription
serverui (default)FusekiServerUICmdFull server with Web UI and admin work area
mainFusekiMainCmdHeadless server (no UI, no admin area); includes Prometheus metrics and Shiro authentication
server-plain / plainFusekiServerPlainCmdPlain server with Fuseki modules, no UI; includes Prometheus and Shiro
basicFusekiBasicCmdMinimal server with no additional features

Data Persistence

Fuseki data is stored in /fuseki/databases inside the container. Without a volume mount, all data is lost when the container stops.

Named Docker volume (recommended)

bash
docker volume create fuseki-data

docker run -d --name fuseki -p 3030:3030 \
  --volume fuseki-data:/fuseki/databases \
  psiwon/jena-fuseki-docker:6.0.0 \
  --tdb2 --update --loc databases/DB2 /ds

***d mount to host directory

bash
mkdir -p /path/to/data/databases

docker run -d --name fuseki -p 3030:3030 \
  --mount type=bind,src=/path/to/data/databases,dst=/fuseki/databases \
  psiwon/jena-fuseki-docker:6.0.0 \
  --tdb2 --update --loc databases/DB2 /ds

Note: The fuseki user inside the container runs as UID/GID 1000. If you use a ***d mount, ensure the host directory is owned or writable by UID 1000:

bash
chown -R 1000 /path/to/data/databases

Persist logs

Logs are written to /fuseki/logs. To persist them:

bash
docker run -d --name fuseki -p 3030:3030 \
  --volume fuseki-data:/fuseki/databases \
  --mount type=bind,src="$PWD/logs",dst=/fuseki/logs \
  psiwon/jena-fuseki-docker:6.0.0 --mem /ds

Container Layout

PathContents
/opt/java-minimaljlink-optimized minimal JRE (Eclipse Temurin 21)
/fusekiFuseki installation root
/fuseki/jena-fuseki-server-*.jarServer JAR (downloaded from Maven Central at build time)
/fuseki/entrypoint.shContainer entry point
/fuseki/log4j2.propertiesLogging configuration
/fuseki/databases/Volume for persistent database storage
/fuseki/logs/Volume for log files
/fuseki/extra/Optional: additional JARs added to the classpath on startup

Adding JARs to the classpath

Mount a directory to /fuseki/extra. Any JARs placed there are automatically added to the server classpath at startup.

Docker Compose

The included docker-compose.yaml mounts ./databases and ./logs automatically. Edit the command: section for your Fuseki arguments, then:

bash
# Build (JENA_VERSION is required)
docker-compose build --build-arg JENA_VERSION=6.0.0

# Temporary run — in-memory dataset
docker-compose run --rm --service-ports fuseki --mem /ds

# Persistent TDB2 dataset
mkdir -p databases/DB2
docker-compose run --rm --name MyServer --service-ports fuseki \
  --tdb2 --update --loc databases/DB2 /ds

To add --update access, include it in the command:

bash
docker-compose run --rm --name MyServer --service-ports fuseki \
  --tdb2 --update --loc databases/DB2 /ds

Building from Source

bash
# Single-platform build
docker build --build-arg JENA_VERSION=6.0.0 -t psiwon/jena-fuseki-docker:6.0.0 .

# Multi-platform build with Docker Buildx (push required for multi-platform)
docker buildx build \
  --platform linux/amd64,linux/arm64 \
  --build-arg JENA_VERSION=6.0.0 \
  -t psiwon/jena-fuseki-docker:6.0.0 \
  --push .

The JENA_VERSION build argument is required. Omitting it causes the build to fail with an explicit error.

Only JENA_VERSION=6.0.0 or newer is supported.

Upgrading

Because data lives in an external volume, upgrading only requires swapping the container:

bash
docker pull psiwon/jena-fuseki-docker:5.4.0
docker stop fuseki
docker rm fuseki
docker run -d --name fuseki -p 3030:3030 \
  --volume fuseki-data:/fuseki/databases \
  psiwon/jena-fuseki-docker:5.4.0 \
  --tdb2 --update --loc databases/DB2 /ds

Managing the Container

bash
# View logs
docker logs fuseki

# Follow logs in real time
docker logs -f fuseki

# Stop
docker stop fuseki

# Restart (remembers port and volume config)
docker restart fuseki

Fuseki Command-Line Reference

Any https://jena.apache.org/documentation/fuseki2/fuseki-server.html can be passed after the image name:

bash
# In-memory dataset (not persistent)
docker run -p 3030:3030 psiwon/jena-fuseki-docker:6.0.0 --mem /ds

# TDB1 dataset, read-only
docker run -p 3030:3030 \
  --mount type=bind,src="$PWD/databases",dst=/fuseki/databases \
  psiwon/jena-fuseki-docker:6.0.0 --loc databases/DB /ds

# TDB2 dataset, updatable
docker run -p 3030:3030 \
  --mount type=bind,src="$PWD/databases",dst=/fuseki/databases \
  psiwon/jena-fuseki-docker:6.0.0 --tdb2 --update --loc databases/DB2 /ds

# Using a Fuseki configuration file
docker run -p 3030:3030 \
  --mount type=bind,src="$PWD/config",dst=/config \
  psiwon/jena-fuseki-docker:6.0.0 --config /config/fuseki.ttl

See the https://jena.apache.org/documentation/fuseki2/fuseki-server.html for the full list of options.

Comparison with stain/jena-fuseki

Featurepsiwon/jena-fuseki-dockerstain/jena-fuseki
Web UIEnabled by defaultOptional
Final base imageAlpine 3.21.2Alpine 3.19
JRECustom minimal JRE via jlink (Temurin 21)eclipse-temurin:21-jre-alpine
JAR sourceMaven Central (SHA1 verified)Apache mirrors / archive.apache.org (SHA512 verified)
Admin password managementNot managed by image — configure via CLI or config fileAuto-generated or -e ADMIN_PASSWORD=...
Shiro authenticationNot configured by imagePre-configured via shiro.ini
Server mode switchingMAIN env var (4 modes)Fixed
Platformslinux/amd64, linux/arm64linux/amd64, linux/arm64

License

Different components in this image carry different licenses:

ComponentLicense
Dockerfile and scripts in this repositoryApache License 2.0
Apache Jena Fuseki (/fuseki/)https://jena.apache.org/getting_involved/index.html
Eclipse Temurin JDK (used at build time only)GPL 2.0 with Classpath Exception
Alpine Linux (base image)https://alpinelinux.org

Resources

  • https://jena.apache.org/documentation/fuseki2/
  • https://jena.apache.org/documentation/fuseki2/fuseki-server.html
  • https://jena.apache.org/documentation/fuseki2/fuseki-configuration.html
  • https://jena.apache.org/help_and_support/index.html
  • https://hub.docker.com/r/psiwon/jena-fuseki-docker
  • https://github.com/siwonpawel/jena-fuseki-docker

Version Notes

  • Supported baseline: This repository supports Apache Jena 6.0.0 and newer only.
  • Older Apache Jena versions are not tested or documented in this repository.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 jena-fuseki-docker 镜像标签

docker pull docker.xuanyuan.run/psiwon/jena-fuseki-docker:<标签>

使用方法:

  • 登录认证方式
  • 免认证方式

DockerHub 原生拉取命令

docker pull psiwon/jena-fuseki-docker:<标签>

轩辕镜像配置手册

按平台快速找到配置文档

一键安装

一键安装 Docker

Linux Docker 一键安装

AI

用 AI 使用轩辕镜像

agents.md · AI 对话 · 提示词

Docker

登录仓库拉取

登录认证 · 私有仓库

专属域名拉取

免登录 · 高速拉取

Linux

Docker 镜像配置

Windows / Mac

Docker Desktop 配置

MacOS OrbStack

OrbStack 容器

Apple Container

macOS 原生容器

Docker Compose

Compose 项目配置

NAS

群晖

Synology 配置

飞牛

fnOS 镜像配置

绿联

绿联 NAS

威联通

QNAP 配置

极空间

极空间 NAS

Unraid

Unraid NAS

企业仓库

其他仓库

ghcr · Quay · nvcr

Harbor 镜像源

Proxy Repository 对接

Portainer 镜像源

Registries 配置

Nexus 镜像源

Docker Proxy 缓存

开发工具

Dev Containers

VS Code 开发容器

Podman

Podman 配置指南

Singularity / Apptainer

HPC 科学计算容器

Kubernetes

K8s Containerd

Kubernetes · Containerd

K3s

轻量级集群

面板 / 网络

爱快路由

iKuai 镜像加速

宝塔面板

一键配置镜像源

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

镜像拉取常见问题

功能

版本功能对比

功能对比 · 版本选择

支持的镜像仓库

Docker Hub · GCR · GHCR

新手拉取配置

登录 · 专属域名 · 配置

docker search 限制

专属域名 · Hub 搜索

不支持 push

仅支持 pull · 不支持

拉取速度原因

带宽 · 缓存 · 冷热镜像

错误码

402 与流量用尽

402 · 流量包 · 充值

401 认证失败

401 · docker login

manifest unknown

标签错误 · 镜像不存在

410 Gone 排查

410 · Docker 升级

429 限流

免费版 · 专业版 · 企业版 · 请求频率

其他报错

DNS 超时

DNS 解析 · 网络超时

TLS 证书失败

no matching manifest(架构)

账号

失败是否计费

manifest · blob · 计费

申请开发票(企业 / 个人)

企业 · 个人 · 工单

修改登录密码

网站 · 仓库 · 重置

注销账户

工单 · 数据 · 注销

原理

mirrors 不生效

daemon.json · 重启

去掉域名前缀

docker tag · 重命名

指定架构拉取

ARM64 · AMD64 · 多架构

latest 与「最新」

digest · 版本号 · 标签

查看全部问题→

用户好评

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

用户头像

oldzhang

运维工程师

Linux服务器

5

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

轩辕镜像
镜像详情
...
psiwon/jena-fuseki-docker
定价查看流量套餐与价格
博客Docker 镜像公告与技术博客
专业版 · 高速稳定拉取镜像
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
50GB 仅 ¥7/年
专业版 · 高速稳定拉取镜像
50GB 仅 ¥7/年
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
用户协议·隐私政策·增值电信业务经营许可证:浙B2-20261007·©2024-2026 源码跳动©2024-2026 杭州源码跳动科技有限公司·商务合作:点击复制邮箱

更多 jena-fuseki-docker 镜像推荐

docker/dockerfile logo

docker/dockerfile

Docker 官方工具与组件镜像
这些是官方提供的Dockerfile前端镜像,主要功能是支持通过BuildKit构建Dockerfile,作为构建流程中的关键前端工具,能够有效配合BuildKit提升Dockerfile的构建效率、安全性与灵活性,为开发者提供官方认可的标准化构建方案,适用于各类基于Docker的应用开发与部署场景,确保构建过程的稳定可靠及操作便捷性。
128 次收藏5亿+ 次下载
21 天前更新
secoresearch/fuseki logo

secoresearch/fuseki

secoresearch
集成SeCo扩展的Apache Jena Fuseki SPARQL服务器,用于RDF数据的高效管理、查询及增强语义处理。
15 次收藏100万+ 次下载
11 个月前更新
docker/dockerfile-copy logo

docker/dockerfile-copy

Docker 官方工具与组件镜像
此Docker镜像已被弃用。
1 次收藏5000万+ 次下载
7 年前更新

查看更多 jena-fuseki-docker 相关镜像