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

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

官方QQ群: 1072982923

stain/jena-fuseki Docker 镜像 - 轩辕镜像

jena-fuseki
stain/jena-fuseki
自动构建
Apache Jena Fuseki 2: SPARQL 1.1 server with web UI, backed by Apache Jena's TDB triple store
69 收藏0 次下载
🚀 生产环境还在裸拉官方镜像?一次故障=一次通宵
镜像简介版本下载
🚀 生产环境还在裸拉官方镜像?一次故障=一次通宵

Jena Fuseki docker image

  • Docker image: stain/jena-fuseki
  • Base images: openjdk:11-jre-slim-buster
  • Source: Dockerfile, Apache Jena Fuseki

![Build Status]([***]

This is a Docker image for running Apache Jena Fuseki, which is a SPARQL 1.1 server with a web interface, backed by the Apache Jena TDB RDF triple store.

Feel free to contact the jena users list for any questions on using Jena or Fuseki.

License

Different licenses apply to files added by different Docker layers:

  • stain/jena-fuseki Dockerfile: Apache License, version 2.0
  • Apache Jena (/jena-fuseki in the image): Apache License, version 2.0 See also: docker run stain/jena-fuseki cat /jena-fuseki/NOTICE
  • OpenJDK (/usr/local/openjdk-11/ in the image): GPL 2.0 with Classpath exception See /usr/local/openjdk-11/legal/ in image
  • Debian GNU/Linux (rest of /): GPL 3 and compatible licenses, see /usr/share/*/license in image

Use

To try out this image, try:

docker run -p 3030:3030 stain/jena-fuseki

The Apache Jena Fuseki should then be available at http://localhost:3030/

To expose Fuseki on a different port, simply modify first part of -p:

docker run -p 8080:3030 stain/jena-fuseki

To load RDF graphs, you will need to log in as the admin user. To see the automatically generated admin password, see the output from above, or use docker logs with the name of your container.

Note that the password is only generated on the first run, e.g. when the volume /fuseki is an empty directory.

You can override the admin-password using the form -e ADMIN_PASSWORD=pw123:

docker run -p 3030:3030 -e ADMIN_PASSWORD=pw123 stain/jena-fuseki

To specify Java settings such as the amount of memory to allocate for the heap (default: 1200 MiB), set the JVM_ARGS environment with -e:

docker run -p 3030:3030 -e JVM_ARGS=-Xmx2g stain/jena-fuseki

Data persistence

Fuseki's data is stored in the Docker volume /fuseki within the container. Note that unless you use docker restart or one of the mechanisms below, data is lost between each run of the jena-fuseki image.

To store the data in a named Docker volume container fuseki-data (recommended), create it first as:

docker run --name fuseki-data -v /fuseki busybox

Then start fuseki using --volumes-from. This allows you to later upgrade the jena-fuseki docker image without losing the data. The command below also uses -d to start the container in the background.

docker run -d --name fuseki -p 3030:3030 --volumes-from fuseki-data stain/jena-fuseki

If you want to store fuseki data in a specified location on the host (e.g. for disk space or speed requirements), specify it using -v:

docker run -d --name fuseki -p 3030:3030 -v /ssd/data/fuseki:/fuseki stain/jena-fuseki

Note that the /fuseki volume must only be accessed from a single Fuseki container at a time.

To check the logs for the container you gave --name fuseki, use:

docker logs fuseki

To stop the named container, use:

docker stop fuseki

.. or press Ctrl-C.

To restart a named container (it will remember the volume and port config)

docker restart fuseki
Using TDB 2

To use TDB v2 you can pass the environment variable with -e TDB=2

 docker run -p 3030:3030 -e TDB=2 stain/jena-fuseki

If you do so, then you need to use the appropriate tdbloader2 for your data, see below for more details.

Upgrading Fuseki

If you want to upgrade the Fuseki container named fuseki which use the data volume fuseki-data as recommended above, do:

docker pull stain/jena-fuseki
docker stop fuseki
docker rm fuseki
docker run -d --name fuseki -p 3030:3030 --volumes-from fuseki-data stain/jena-fuseki

Create empty datasets

You can create empty datasets at startup with:

docker run -d --name fuseki -p 3030:3030 -e FUSEKI_DATASET_1=mydataset -e FUSEKI_DATASET_2=otherdataset stain/jena-fuseki

This will create 2 empty datasets: mydataset and otherdataset.

Data loading

Fuseki allows uploading of RDF datasets through the web interface and web services, but for large datasets it is more efficient to load them directly using the command line.

This docker image includes a shell script load.sh that invokes the tdbloader command line tool and load datasets from the docker volume /staging.

For help, try:

docker run stain/jena-fuseki ./load.sh

You will most likely want to load from a folder on the host computer by using -v, and into a data volume that you can then use with the regular fuseki.

Before data loading, you must either stop the Fuseki container, or load the data into a brand new dataset that Fuseki doesn't know about yet. To stop the docker container you named fuseki:

docker stop fuseki

The example below assume you want to populate the Fuseki dataset 'chembl19' from the Docker data volume fuseki-data (see above) by loading the two files cco.ttl.gz and void.ttl.gz from /home/stain/ops/chembl19 on the host computer:

docker run --volumes-from fuseki-data -v /home/stain/ops/chembl19:/staging \
   stain/jena-fuseki ./load.sh chembl19 cco.ttl.gz void.ttl.gz

Tip: You might find it benefitial to run data loading from the data staging directory in order to use tab-completion etc. without exposing the path on the host. The ./load.sh will expand patterns like *.ttl - you might have to use single quotes (e.g. '*.ttl') on the host to avoid them being expanded locally.

If you don't specify any filenames to load.sh, all filenames directly under /staging that match these GLOB patterns will be loaded:

*.rdf *.rdf.gz *.ttl *.ttl.gz *.owl *.owl.gz *.nt *.nt.gz *.nquads *.nquads.gz

load.sh populates the default graph. To populate named graphs, see the tdbloader section below.

NOTE: If you load data into a brand new /fuseki volume, a new random admin password will be set before you have started Fuseki. You can either check the output of the data loading, or later override the password using -e ADMIN_PASSWORD=pw123.

Using the tdbloader2 for TDB2

Assume you have already the container running named fuseki you can execute

docker exec -it fuseki  /bin/bash -c 'tdbloader2 --loc chembl19  /staging/{cco.ttl.gz,void.ttl.gz}'

Recognizing the dataset in Fuseki

If you loaded into an existing dataset, Fuseki should find the data after (re)starting with the same data volume (see Data persistence above):

docker restart fuseki

If you created a brand new dataset, then in Fuseki go to Manage datasets, click Add new dataset, tick Persistent and provide the database name exactly as provided to load.sh, e.g. chembl19.

Now go to Dataset, select from the dropdown menu, and try out Info and Query.

Tip: It is possible to load a new dataset into the volume of a running Fuseki server, as long as you don't "create" it in Fuseki before load.sh has finished.

Loading with tdbloader

If you have more advanced requirements, like loading multiple datasets or named graphs, you can use tdbloader directly together with a TDB assembler file.

Note that Fuseki TDB datasets are sub-folders in /fuseki/databases/.

You will need to provide the assembler file on a mounted Docker volume together with the data:

docker run --volumes-from fuseki-data -v /home/stain/data:/staging stain/jena-fuseki \
  ./tdbloader --desc=/staging/tdb.ttl

Remember to use the Docker container's data volume paths within the assembler file, e.g. /staging/dataset.ttl instead of /home/stain/data/dataset.ttl.

Customizing Fuseki configuration

If you need to modify Fuseki's configuration further, you can use the equivalent of:

docker run --volumes-from fuseki-data -it ubuntu bash

and inspect /fuseki with the shell. Remember to restart fuseki afterwards:

docker restart fuseki

### Additional JARs on Fuseki classpath

If you need to add additional JARs to the classpath, but do not want to modify the volume /fuseki, then add the JARs to /fuseki-extra which will be added as /fuseki/extra on start.

Contact

For any feedback or questions on Jena, Fuseki or SPARQ, please use the users@jena mailing list.

For any issues with Jena or Fuseki, feel free to raise a bug.

For any issues with the packaging in this Docker image, or its Dockerfile, please raise a pull request or issue.

查看更多 jena-fuseki 相关镜像 →
stain/jena logo
stain/jena
Apache Jena riot image - based on Alpine Linux
9100K+ pulls
上次更新:未知
stainless403/mdcx-builtin-gui-base logo
stainless403/mdcx-builtin-gui-base
MDCx Docker镜像支持通过网页进行使用。
74100K+ pulls
上次更新:未知
stainless403/mdcx-builtin-webtop-base logo
stainless403/mdcx-builtin-webtop-base
基于linuxserver/webtop构建的适合python+QT5应用运行的Docker镜像,内置远程桌面、文件管理和浏览器功能,支持通过网页或RDP远程桌面访问,便于运行MDCx等应用。
2150K+ 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访问体验非常流畅,大镜像也能快速完成下载。"

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