
如果你使用 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 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。
!version
Docker image for https://github.com/ApacheInfra/superset.
This project is unofficial and not related to Superset or Apache.
Download this image from the Docker registry:
bashdocker pull amancevice/superset:<version>
I DO NOT recommend building this image directly from the Dockerfile included in this repository.
If you wish to extend this image then the best course of action is to write your own Dockerfile that extends this image. Eg,
DockerfileFROM amancevice/superset:<version> USER root # Your changes... USER superset
Please ONLY file issues in this project that are related to Docker and DO include the Docker commands or compose configuration of your setup when filing issues (be sure to hide any secrets/passwords before submitting).
File issues/bugs with Superset at the https://github.com/apache/superset.
Please DO NOT files issues like "Please include <some-python-pip> in the Dockerfile," open a https://github.com/amancevice/superset/pulls for updates/enhancements.
Navigate to the examples directory to view examples of how to configure Superset with MySQL, PostgreSQL, or SQLite.
This repo is tagged in parallel with superset. Pulling amancevice/superset:0.18.5 will fetch the image of this repository running superset version 0.18.5. It is possible that the latest tag includes new features/support libraries but will usually be in sync with the latest semantic version.
Follow the instructions provided by Apache Superset for writing your own superset_config.py. Place this file in a local directory and mount this directory to /etc/superset inside the container. This location is included in the image's PYTHONPATH. Mounting this file to a different location is possible, but it will need to be in the PYTHONPATH.
View the contents of the examples directory to see some simple superset_config.py samples.
The image defines two data volumes: one for mounting configuration into the container, and one for data (logs, SQLite DBs, &c).
The configuration volume is located alternatively at /etc/superset or /home/superset; either is acceptable. Both of these directories are included in the PYTHONPATH of the image. Mount any configuration (specifically the superset_config.py file) here to have it read by the app on startup.
The data volume is located at /var/lib/superset and it is where you would mount your SQLite file (if you are using that as your backend), or a volume to collect any logs that are routed there. This location is used as the value of the SUPERSET_HOME environmental variable.
After starting the Superset server, initialize the database with an admin user and Superset tables using the superset-init helper script:
bashdocker run --detach --name superset [options] amancevice/superset docker exec -it superset superset-init
Upgrading to a newer version of superset can be accomplished by re-pulling amancevice/supersetat a specified superset version or latest (see above for more on this). Remove the old container and re-deploy, making sure to use the correct environmental configuration. Finally, ensure the superset database is migrated up to the head:
bash# Pull desired version docker pull amancevice/superset # Remove the current container docker rm -f superset-old # Deploy a new container ... docker run --detach --name superset-new [options] amancevice/superset # Upgrade the DB docker exec superset-new superset db upgrade # Sync the base permissions docker exec superset-new superset init
以下是 amancevice/superset 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。


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