如果你用 DeepSeek、元宝AI、Copilot 等 AI 代为编写轩辕镜像的 docker pull、修改 compose 镜像地址,或排查拉取失败等问题,请让 AI 先读规则再动手,只要在 AI 对话里直接发送下面这句话即可:
生成 docker pull、修改 compose 的 image,或排查拉取失败前,请先阅读并严格遵守 https://xuanyuan.cloud/agents.md 中的规则。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
Note: this is the "per-architecture" repository for the riscv64 builds of https://hub.docker.com/_/matomo -- for more information, see https://github.com/docker-library/official-images#architectures-other-than-amd64 and https://github.com/docker-library/faq#an-images-source-changed-in-git-now-what.
Maintained by:
https://github.com/matomo-org/docker (a Matomo community contributor)
Where to get help:
the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow
Dockerfile linkshttps://github.com/matomo-org/docker/blob/fbcd702b001dc205403ff072553d82d3f20fbf30/apache/Dockerfile
https://github.com/matomo-org/docker/blob/fbcd702b001dc205403ff072553d82d3f20fbf30/fpm/Dockerfile
https://github.com/matomo-org/docker/blob/fbcd702b001dc205403ff072553d82d3f20fbf30/fpm-alpine/Dockerfile
Where to file issues:
https://github.com/matomo-org/docker/issues?q=
Supported architectures: (https://github.com/docker-library/official-images#architectures-other-than-amd64)
https://hub.docker.com/r/amd64/matomo/, https://hub.docker.com/r/arm32v5/matomo/, https://hub.docker.com/r/arm32v6/matomo/, https://hub.docker.com/r/arm32v7/matomo/, https://hub.docker.com/r/arm64v8/matomo/, https://hub.docker.com/r/i386/matomo/, https://hub.docker.com/r/ppc64le/matomo/, https://hub.docker.com/r/riscv64/matomo/, https://hub.docker.com/r/s390x/matomo/
Published image artifact details:
https://github.com/docker-library/repo-info/blob/master/repos/matomo (https://github.com/docker-library/repo-info/commits/master/repos/matomo)
(image metadata, transfer size, etc)
Image updates:
https://github.com/docker-library/official-images/issues?q=label%3Alibrary%2Fmatomo
https://github.com/docker-library/official-images/blob/master/library/matomo (https://github.com/docker-library/official-images/commits/master/library/matomo)
Source of this description:
https://github.com/docker-library/docs/tree/master/matomo (https://github.com/docker-library/docs/commits/master/matomo)
Matomo (formerly Piwik) is the leading open-source analytics platform that gives you more than just powerful analytics:
!https://raw.githubusercontent.com/docker-library/docs/1553a3fe5fc08c4619fcacb51e61e33f3495e26d/matomo/logo.svg?sanitize=true
You can run the Matomo container and service like so:
bashdocker run -d --link some-mysql:db riscv64/matomo
This assumes you've already launched a suitable MySQL or MariaDB database container.
Use a Docker volume to keep persistent data:
bashdocker run -d -p 8080:80 --link some-mysql:db -v matomo:/var/www/html riscv64/matomo
Once you're up and running, you'll arrive at the configuration wizard page. If you're using the compose file, at the Database Setup step, please enter the following:
dbAnd leave the rest as default.
Then you can continue the installation with the super user.
The following environment variables are also honored for configuring your Matomo instance:
MATOMO_DATABASE_HOSTMATOMO_DATABASE_ADAPTERMATOMO_DATABASE_TABLES_PREFIXMATOMO_DATABASE_USERNAMEMATOMO_DATABASE_PASSWORDMATOMO_DATABASE_DBNAMEThe PHP memory limit can be configured with the following environment variable:
PHP_MEMORY_LIMITA minimal set-up using Docker Compose is available in the https://github.com/matomo-org/docker/tree/master/.examples.
If you want to use the import logs script, you can then run the following container as needed, in order to execute the python import logs script:
bashdocker run --rm --volumes-from="matomo-app-1" --link matomo-app-1 python:3-alpine python /var/www/html/misc/log-analytics/import_logs.py --url=http://ip.of.your.matomo.example --login=yourlogin --password=yourpassword --idsite=1 --recorders=4 /var/www/html/logs/access.log
Pull requests are very welcome!
We'd love to hear your feedback and suggestions in the issue tracker: https://github.com/matomo-org/docker/issues?q=](https://github.com/matomo-org/docker/issues?q=).
~~This product includes GeoLite data created by MaxMind, available from [] []
The riscv64/matomo images come in many flavors, each designed for a specific use case.
riscv64/matomo:<version>This is the defacto image. If you are unsure about what your needs are, you probably want to use this one. It is designed to be used both as a throw away container (mount your source code and start the container to start your app), as well as the base to build other images off of.
riscv64/matomo:<version>-alpineThis image is based on the popular Alpine Linux project, available in https://hub.docker.com/_/alpine. Alpine Linux is much smaller than most distribution base images (~5MB), and thus leads to much slimmer images in general.
This variant is useful when final image size being as small as possible is your primary concern. The main caveat to note is that it does use musl libc instead of glibc and friends, so software will often run into issues depending on the depth of their libc requirements/assumptions. See this Hacker News comment thread for more discussion of the issues that might arise and some pro/con comparisons of using Alpine-based images.
To minimize image size, it's uncommon for additional related tools (such as git or bash) to be included in Alpine-based images. Using this image as a base, add the things you need in your own Dockerfile (see the https://hub.docker.com/_/alpine/ for examples of how to install packages if you are unfamiliar).
View https://github.com/matomo-org/matomo/blob/master/LEGALNOTICE for the software contained in this image.
As with all Docker images, these likely also contain other software which may be under other licenses (such as Bash, etc from the base distribution, along with any direct or indirect dependencies of the primary software being contained).
Some additional license information which was able to be auto-detected might be found in https://github.com/docker-library/repo-info/tree/master/repos/matomo.
As for any pre-built image usage, it is the image user's responsibility to ensure that any use of this image complies with any relevant licenses for all software contained within.
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
发给 Cursor、ChatGPT、豆包等 AI 的说明文档
无需登录使用专属域名
Kubernetes 集群配置 Containerd
K3s 轻量级 Kubernetes 镜像加速
VS Code Dev Containers 配置
Podman 容器引擎配置
HPC 科学计算容器配置
ghcr、Quay、nvcr 等镜像仓库
Harbor Proxy Repository 对接专属域名
Portainer Registries 加速拉取
Nexus3 Docker Proxy 内网缓存
需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单
docker search 限制
站内搜不到镜像
离线 save/load
插件要用 plugin install
WSL 拉取慢
安全与 digest
新手拉取配置
镜像合规机制
不支持 push
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务