
!size!https://raw.githubusercontent.com/11notes/static/refs/heads/main/img/markdown/transparent5x2px.png!pulls!https://raw.githubusercontent.com/11notes/static/refs/heads/main/img/markdown/transparent5x2px.png%5B](https://github.com/11notes/docker-memos/issues)!https://raw.githubusercontent.com/11notes/static/refs/heads/main/img/markdown/transparent5x2px.png!swiss_made
以无root权限和无发行版方式运行Memos。
一个现代、开源、自托管的知识管理和笔记平台,专为注重隐私的用户和组织设计。Memos提供轻量级但功能强大的解决方案,用于捕捉、组织和分享想法,支持全面的Markdown功能和跨平台访问。
!https://github.com/11notes/docker-memos/blob/master/img/Dashboard.png?raw=true
我能用这个做什么? 此镜像将以https://github.com/11notes/RTFM/blob/main/linux/container/image/rootless.md%E5%92%8Chttps://github.com/11notes/RTFM/blob/main/linux/container/image/distroless.md%E6%96%B9%E5%BC%8F%E8%BF%90%E8%A1%8CMemos%EF%BC%8C%E4%BB%A5%E5%AE%9E%E7%8E%B0%E6%9C%80%E5%A4%A7%E7%9A%84%E5%AE%89%E5%85%A8%E6%80%A7%E5%92%8C%E6%80%A7%E8%83%BD%E3%80%82%E6%9C%89%E5%85%B3%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8OIDC%E8%AE%BE%E7%BD%AEMemos%E7%9A%84%E4%BF%A1%E6%81%AF%EF%BC%8C%E8%AF%B7%E6%9F%A5%E9%98%85%E5%85%B6%E6%96%87%E6%A1%A3%E3%80%82
为什么我应该运行此镜像而不是其他已存在的镜像? 好问题!因为...
如果您重视安全性、简洁性和极致优化,那么此镜像可能适合您。
下方是此镜像与最常用或原始镜像的比较。
| 镜像 | 磁盘大小 | 默认初始用户 | https://github.com/11notes/RTFM/blob/main/linux/container/image/distroless.md | 支持的架构 |
|---|
yamlname: "memos" x-lockdown: &lockdown # 防止对镜像本身的写访问 read_only: true # 防止容器内任何进程获取更多权限 security_opt: - "no-new-privileges=true" services: postgres: # 有关此镜像的更多信息,请查看: # https://github.com/11notes/docker-postgres image: "11notes/postgres:18" <<: *lockdown environment: TZ: "Europe/Zurich" POSTGRES_PASSWORD: "${POSTGRES_PASSWORD}" networks: backend: volumes: - "postgres.etc:/postgres/etc" - "postgres.var:/postgres/var" - "postgres.backup:/postgres/backup" tmpfs: - "/postgres/run:uid=1000,gid=1000" - "/postgres/log:uid=1000,gid=1000" restart: "always" app: depends_on: postgres: condition: "service_healthy" restart: true image: "11notes/memos:0.26.2" <<: *lockdown environment: TZ: "Europe/Zurich" MEMOS_DSN: "postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres?sslmode=disable" volumes: - "memos.var:/memos/var" ports: - "3000:5230/tcp" networks: frontend: backend: restart: "always" volumes: postgres.etc: postgres.var: postgres.backup: memos.var: networks: frontend: backend: internal: true
要了解如何更改此容器镜像的默认UID/GID,请查阅https://github.com/11notes/RTFM/blob/main/linux/container/image/11notes/how-to.changeUIDGID.md#change-uidgid-the-correct-way%E3%80%82
| 参数 | 值 | 描述 |
|---|---|---|
user | docker | 用户名 |
uid | 1000 | 用户标识符 |
gid | 1000 | 组标识符 |
home | /memos | docker用户的主目录 |
| 参数 | 说明 | 默认值 |
|---|---|---|
TZ | 时区 | |
DEBUG | 激活容器镜像和应用的调试选项(如果可用) | |
MEMOS_MODE | 运行模式(prod、dev或demo) | prod |
MEMOS_ADDR | 监听IP | 0.0.0.0 |
MEMOS_PORT | 监听端口 | 5230 |
MEMOS_DATA | 存储文件的数据目录 | /memos/var |
MEMOS_DRIVER | 使用的后端驱动(postgres、sqlite和mysql) | postgres |
这些是镜像的主要标签。还有每个提交及其简写sha256值的标签。
我的观点是:latest标签是一个坏习惯,根本不应该使用。许多开发人员在新版本中引入破坏性变更,这会给使用:latest的人带来麻烦。如果您不想将标签更改为最新的语义化版本,只需使用语义化版本的短版本。不使用:0.26.2,您可以使用:0或:0.26。由于这些标签会在每个新版本中更新为软件的最新版本,使用它们与使用:latest相同,但至少固定在主要或次要版本上,理论上不会引入破坏性变更。
如果您仍然坚持使用此应用的最新版本,只需使用:rolling标签,但请注意!您将立即获得应用的最新版本,无论是否存在破坏性变更或安全问题。风险自负!
docker pull 11notes/memos:0.26.2 docker pull ghcr.io/11notes/memos:0.26.2 docker pull quay.io/11notes/memos:0.26.2
此镜像默认支持Unraid。只需在任何标签后添加-unraid,镜像将以99:100而非1000:1000运行。
此镜像默认支持nobody用户。只需在任何标签后添加-nobody,镜像将以65534:65534而非1000:1000运行。
此镜像不基于其他镜像,而是使用https://hub.docker.com/_/scratch%E4%BD%9C%E4%B8%BA%E5%9F%BA%E7%A1%80%E5%B1%82%E3%80%82%E9%95%9C%E5%83%8F%E5%8C%85%E5%90%AB%E4%BB%A5%E4%B8%8B%E6%B7%BB%E5%8A%A0%E7%9A%84%E6%97%A0%E5%8F%91%E8%A1%8C%E7%89%88%E5%B1%82%EF%BC%9A
此镜像由您自行承担风险使用。更新镜像到不同版本前请务必备份。查看https://github.com/11notes/docker-memos/releases%E4%BA%86%E8%A7%A3%E7%A0%B4%E5%9D%8F%E6%80%A7%E5%8F%98%E6%9B%B4%E3%80%82%E5%A6%82%E6%9E%9C%E4%BD%BF%E7%94%A8%E6%AD%A4%E9%95%9C%E5%83%8F%E9%81%87%E5%88%B0%E9%97%AE%E9%A2%98%EF%BC%8C%E8%AF%B7%E6%8F%90%E4%BA%A4https://github.com/11notes/docker-memos/issues%EF%BC%8C%E8%B0%A2%E8%B0%A2%E3%80%82%E5%A6%82%E6%9C%89%E9%97%AE%E9%A2%98%E6%88%96%E5%BB%BA%E8%AE%AE%EF%BC%8C%E8%AF%B7%E5%88%9B%E5%BB%BA%E6%96%B0%E7%9A%84https://github.com/11notes/docker-memos/discussions%E8%80%8C%E9%9D%9Eissue%E3%80%82%E6%82%A8%E5%8F%AF%E4%BB%A5%E5%9C%A8https://github.com/11notes?tab=repositories%E4%B8%8A%E6%89%BE%E5%88%B0%E6%88%91%E6%89%80%E6%9C%89%E7%9A%84%E5%85%B6%E4%BB%96%E4%BB%93%E5%BA%93%E3%80%82
创建于24.02.2026, 07:03:23 (CET)
以下是 11notes/memos 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:
您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。



探索更多轩辕镜像的使用方法,找到最适合您系统的配置方式
通过 Docker 登录认证访问私有仓库
无需登录使用专属域名
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
新手拉取配置
镜像合规机制
manifest unknown
no matching manifest(架构)
invalid tar header(解压)
TLS 证书失败
DNS 超时
域名连通性排查
410 Gone 排查
402 与流量用尽
401 认证失败
429 限流
D-Bus 凭证提示
413 与超大单层
来自真实用户的反馈,见证轩辕镜像的优质服务