Files
nexus/wiki/sources/用docker安装apache-superset.md
2026-04-17 08:38:12 +08:00

53 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: 用Docker安装Apache Superset
type: source
tags: [docker, apache, superset, bi]
date: 2026-04-14
---
## Source File
- [[raw/Home Office/用Docker安装Apache Superset.md]]
## Summary
- 核心主题:使用 Docker 部署 Apache Superset 开源 BI 平台
- 问题域Docker 容器化部署、数据可视化工具安装
- 方法/机制:通过 Docker 镜像拉取和容器运行命令部署 Superset
- 结论/价值:提供本地化的开源 BI 平台,支持数据可视化、仪表盘和 SQL 探索
## Key Claims
- 通过 `docker pull` 拉取 Apache Superset 官方镜像
- 通过 `docker run` 命令启动 Superset 容器并配置端口和密钥
- 通过 `superset fab create-admin` 创建管理员账户
- 通过 `superset db upgrade` 初始化数据库
- 通过 `superset load_examples` 加载示例数据
- 通过 `superset init` 完成初始化配置
## Key Quotes
> "docker pull apache/superset:GHA-19524015706" — 拉取指定版本的 Superset 镜像
> "docker run -d -p 8777:8088 -e \"SUPERSET_SECRET_KEY=mysuperset\" --name superset apache/superset:GHA-19524015706" — 后台运行容器,映射端口 8777 到 8088
> "docker exec -it superset superset fab create-admin --username admin --firstname Superset --lastname Admin --email admin@superset.com --password admin" — 创建管理员账户
> "docker exec -it superset superset db upgrade" — 升级数据库
> "docker exec -it superset superset load_examples" — 加载示例数据
> "docker exec -it superset superset init" — 完成初始化
## Key Concepts
- [[Docker]]:开源容器化平台
- [[Apache Superset]]Apache 软件基金会旗下的开源 BI 平台
- [[容器化媒体服务]]:通过 Docker 容器化技术部署应用
## Key Entities
- [[Apache]]Apache 软件基金会,全球最大的开源软件基金会之一
- [[Apache Superset]]Apache 软件基金会旗下的开源 BI 平台
## Connections
- [[Apache Superset]] ← deployed_via ← [[Docker]]
- [[Docker]] ← manages ← [[Apache Superset]]
## Contradictions
- (暂无)