轩辕镜像 官方专业版
轩辕镜像
专业版
轩辕镜像 官方专业版
轩辕镜像
专业版
首页个人中心搜索镜像
交易
充值流量¥8起我的订单
文档
工具
提交工单页面收录
roundcube

eilandert/roundcube

eilandert

基于Ubuntu的每日重建Roundcube镜像,集成Apache2和PHP8.0,设计用于反向代理环境,包含额外插件和皮肤,支持挂载配置目录自定义设置,兼容官方Roundcube镜像。

3 次收藏下载次数: 0状态:社区镜像维护者:eilandert仓库类型:镜像最近更新:5 天前
让 AI 帮你使用轩辕镜像? · 展开查看说明 · 点击收起说明

如果你使用 DeepSeek、元宝 AI、Copilot、ChatGPT 等 AI 工具,协助配置轩辕镜像、编写 docker pull 命令、修改 Docker Compose 镜像地址、配置镜像加速、排查镜像拉取失败、分析报错日志等问题,请先让 AI 阅读并遵守轩辕镜像的规则文档。

只需在 AI 对话中先发送下面这段话即可:

请先阅读并遵守:https://xuanyuan.cloud/agents.md

未读文档前不要生成 pull 命令或排错方案。

查看 agents.md 用法指南与完整示范。国内用户首推 元宝 AI、DeepSeek 的深度思考模式,不推荐豆包 AI;Cursor 等编辑器可在对话 @ 该链接,或加入 User Rules。 若 AI 无法访问外链,可 打开说明文档 复制全文粘贴。文档会随站点更新,复制内容可能过期,建议定期检查。

DockerHub 官方简介
轩辕镜像中文简介
下载命令
镜像标签列表与下载命令
轩辕镜像,加速的不只是镜像。
点击查看

Roundcube — hardened Docker image (Debian / Angie-minimal / PHP-FPM 8.5)

A small, fully-unprivileged, defence-in-depth Docker image for Roundcube webmail. PID 1 and the whole PHP/web tree run as a non-root user (uid ***), the container holds zero Linux capabilities, the root filesystem is read-only, and an Angie WAF sits in front of PHP.

You bring an IMAP/SMTP server (your own mail host) and a database; the image brings the webmail front-end. The bundled docker-compose.yml includes a hardened MariaDB so you can be running in two commands.

Just want it running? Jump to Quick start. Curious how it's locked down? See Security & hardening. Want to know which plugins/skins ship? See Bundled plugins & skins.

Links

  • Image source / this repo: https://github.com/eilandert/dockerized/tree/master/src/roundcube
  • Docker Hub: https://hub.docker.com/r/eilandert/roundcube
  • App source (upstream): https://github.com/roundcube/roundcubemail
  • Write-up / guided tour: <[***]>
  • deb.myguard.nl: <[***]>

What's in the image

Baseeilandert/debian-base:stable (trixie + deb.myguard.nl repo + hardening)
Webangie-minimal — single self-contained angie.conf with a WAF gate in front of PHP
Runtimephp8.5-fpm, minimal extension set, Snuffleupagus + a strict source-audited Roundcube ruleset
Cachetuned OPcache + APCu
DBexternal MariaDB/MySQL or PostgreSQL (mandatory; no SQLite)
Initrootless s6-overlay PID1 — init-bootstrap.sh oneshot (setup + DB schema) then php-fpm/angie/fpm-watch longruns (s6-rc.d/)
Configone file each: angie.conf (incl. loopback healthz), phpfpm.conf

Security & hardening

Defence in depth: the runtime is hardened by Snuffleupagus + the FPM pool, the edge by an Angie WAF, and the container by the measures below.

Container / image

  • Runs fully unprivileged — no root, anywhere. PID 1 is rootless s6-overlay (S6_READ_ONLY_ROOT=1); it, the Angie and PHP-FPM masters, every worker — all of it runs as the unprivileged roundcube user (USER roundcube:roundcube in the image; user: "10001:10001" in compose). No root process at any point. s6 supervises php-fpm + angie, so a killed master is reaped and restarted instead of leaving a silent outage.
  • Zero Linux capabilities — cap_drop: [ALL] with no cap_add. Angie binds a high port (:8080, no CAP_NET_BIND_SERVICE); nothing does runtime setuid/chown (the masters are already unprivileged; writable mounts are pre-owned — see Mount ownership).
  • no-new-privileges + AppArmor (apparmor=docker-default).
  • Read-only root filesystem (read_only: true). Only the config volume and the /tmp tmpfs are writable; Angie's pid/sockets/temp + the FPM error log are redirected there so the rest of the rootfs stays immutable.
  • Codebase read-only to the web/PHP user — owned roundcube:roundcube 0440/0550. The web/PHP processes cannot modify a line of code.
  • No baked secrets — the Roundcube des_key and the Snuffleupagus secret_key are each generated on first boot, unique per deployment, persisted on the config volume and never in an image layer (override with a Docker secret or ROUNDCUBEMAIL_DES_KEY / ROUNDCUBEMAIL_SP_SECRET).
  • Every setuid/setgid bit stripped at build time.

Runtime (PHP)

  • Snuffleupagus with a strict, source-audited Roundcube rulebook (virtual patching, dangerous-function kills, uploaded-file no-exec, secure cookies).
  • Hardened PHP-FPM pool (php_admin_*, not overridable by userland): open_basedir jail, expose_php off, allow_url_fopen/allow_url_include off, a wide disable_functions (exec/system/proc_open/passthru/… gone), and Secure+HttpOnly+SameSite=Strict session cookies with 64-char IDs.

Edge (Angie WAF)

  • gzip off — closes the BREACH side-channel on CSRF-token-bearing HTML.
  • real_ip from the trusted private proxy ranges (reads X-Forwarded-For) so the throttle + RC's failed-login tracking see the real client.
  • Scanner / empty-UA gate return 444 (nikto/sqlmap/nmap/nuclei/wpscan/…).
  • Login brute-force throttle (limit_req, 12 r/min + burst) keyed on the real client IP, applied to login POSTs only (an empty-key map keeps normal browsing through index.php un-throttled).
  • CSP + HSTS response headers; X-Content-Type-Options, X-Frame-Options.
  • PHP execution allow-list — only index.php and static.php ever execute; any other .php (a dropped webshell) returns 404.

Bundled plugins & skins

Pre-installed; enable with ROUNDCUBEMAIL_PLUGINS (comma-separated). Nothing loads unless you list it.

Plugins

PluginVersionWhat it does
contextmenu3.3.1Right-click context menus (message list / folders)
contextmenu_folder2.0.2Folder management context menu
swipe0.6Touch swipe gestures (mobile)
show_folder_size0.7.22Folder size column
quotagitMailbox/IMAP quota display
persistent_login1.0.3"Keep me logged in"
identity_switch3.0.5Switch between separate IMAP/SMTP accounts (toteph42 fork)
advanced_search3.7Extended search form
account_details5.0.0Per-account info pane
message_highlight1.0.5Colour-highlight messages by rule
authres (authres_status)0.7.1Show SPF/DKIM/DMARC results
thunderbird_labels1.6.2Thunderbird-compatible coloured labels
responses1.3.13Canned-response templates
easy_unsubscribegitOne-click List-Unsubscribe
rcguard1.3.2reCAPTCHA after failed logins
twofactor_gauthenticatorcomposerTwo-factor auth (TOTP / Google Authenticator)
scheduled_sendingcomposerQueue messages for later delivery
customizrcomposerCustom logo / watermark / stylesheets via config
dovecot_client_ipcomposerForward client IP to Dovecot on IMAP connect
carddavcomposerCardDAV address-book sync

Roundcube core plugins (archive, zipdownload, managesieve, password, newmail_notifier, new_user_dialog) ship with RC and are on by default.

Skins

Pick one with ROUNDCUBEMAIL_SKIN (default elastic).

SkinSourceNotes
elasticRoundcube coreDefault, responsive
elastic4mobileeilandert/roundcube-elastic4mobile (fork)Mobile-tuned elastic
elastic-darktborychowski/elastic-darkDark theme
elastic2025bijanbina/Elastic2025Refreshed elastic look
gmailbundled (this image)Gmail look-alike
outlook365bundled (this image)Outlook 365 look-alike
larryroundcube/larryClassic RC 1.x skin
classicroundcube/classicMinimal classic skin

Quick start

sh
curl -fsSLO https://raw.githubusercontent.com/eilandert/dockerized/master/src/roundcube/docker-compose.yml
$EDITOR docker-compose.yml     # set MARIADB_* + ROUNDCUBEMAIL_DB_PASSWORD,
                               # and ROUNDCUBEMAIL_DEFAULT_HOST / SMTP_SERVER
docker compose up -d
# Browse http://localhost:8080/  ->  log in with an IMAP account.

docker-compose.yml

yaml
services:
  db:
    image: docker.io/eilandert/mariadb:debian
    restart: unless-stopped
    environment:
      MARIADB_DATABASE: roundcube
      MARIADB_USER: roundcube
      MARIADB_PASSWORD: change-me
      MARIADB_ROOT_PASSWORD: change-me-too
    volumes:
      - db:/var/lib/mysql
    networks: [rc]
    security_opt:
      - no-new-privileges:true
    cap_drop: [ALL]
    cap_add: [CHOWN, SETUID, SETGID, DAC_OVERRIDE]
    deploy:
      resources:
        limits:
          memory: 512M
          pids: 256
    healthcheck:
      test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
      interval: 10s
      timeout: 5s
      retries: 12

  roundcube:
    image: docker.io/eilandert/roundcube:latest
    restart: unless-stopped
    depends_on:
      db:
        condition: service_healthy
    # Unprivileged: cap_drop ALL -> the container CANNOT chown, so the config
    # mount must already be owned 10001:10001 (a named volume inherits it).
    user: "10001:10001"
    environment:
      TZ: Europe/Amsterdam
      # ---- IMAP (reading mail) ----
      ROUNDCUBEMAIL_DEFAULT_HOST: ssl://imap.example.org
      ROUNDCUBEMAIL_DEFAULT_PORT: 993
      # ---- SMTP (sending mail) ----
      ROUNDCUBEMAIL_SMTP_SERVER: tls://smtp.example.org
      ROUNDCUBEMAIL_SMTP_PORT: 587
      # TLS to your mail server is VERIFIED by default. If the cert won't match:
      #   pin a CA: ROUNDCUBEMAIL_SSL_CA=/etc/ssl/mail-ca.pem (mount it :ro)
      #   trusted LAN only (allows MITM): ROUNDCUBEMAIL_SSL_VERIFY: 0
      # ---- database (points at the bundled `db` service) ----
      ROUNDCUBEMAIL_DB_TYPE: mysql
      ROUNDCUBEMAIL_DB_HOST: db
      ROUNDCUBEMAIL_DB_PORT: 3306
      ROUNDCUBEMAIL_DB_USER: roundcube
      ROUNDCUBEMAIL_DB_PASSWORD: change-me      # must match MARIADB_PASSWORD
      ROUNDCUBEMAIL_DB_NAME: roundcube
      # ---- app ----
      ROUNDCUBEMAIL_PLUGINS: archive,zipdownload,managesieve,newmail_notifier,password,new_user_dialog,contextmenu,persistent_login
      ROUNDCUBEMAIL_UPLOAD_MAX_FILESIZE: 25M
      ROUNDCUBEMAIL_SKIN: elastic
      CLEAN_INACTIVE_USERS_DAYS: 365
    ports:
      # Loopback only — :8080 trusts X-Forwarded-For from private ranges, so do
      # not expose it to an untrusted network; terminate TLS at your edge proxy.
      - "127.0.0.1:8080:8080"
    networks: [rc]
    # ---- hardening ----
    read_only: true        # rootfs is immutable; writes go to the mounts below
    volumes:
      - conf:/var/roundcube/config
    tmpfs:
      - /tmp:uid=10001,gid=10001,mode=1770,noexec,nosuid,nodev
      - /run:uid=10001,gid=10001,mode=0750,exec,nosuid,nodev   # s6 scratch — exec REQUIRED
    security_opt:
      - no-new-privileges:true
      - apparmor=docker-default
    cap_drop: [ALL]        # angie binds :8080 -> ZERO capabilities required
    ulimits:
      nofile:
        soft: 10240
        hard: 10240
    deploy:
      resources:
        limits:
          memory: 512M
          pids: 256
    logging:
      driver: json-file
      options:
        max-size: "10m"
        max-file: "3"

networks:
  rc:

volumes:
  db:
  conf:

The compose file bundles a hardened MariaDB; point ROUNDCUBEMAIL_DEFAULT_HOST / ROUNDCUBEMAIL_SMTP_SERVER at your own IMAP/SMTP servers. Run behind TLS in production (terminate at your edge proxy, forward the real client IP via X-Forwarded-For). The container listens on :8080 only.

Mount ownership (because the container can't chown)

cap_drop: [ALL] removes CAP_CHOWN, so any writable mount must already be owned by uid 10001:

  • Named volumes — nothing to do, they inherit it.
  • Host bind mounts — sudo chown -R 10001:10001 /your/bind/dir.
  • tmpfs — set it inline: --tmpfs /tmp:uid=10001,gid=10001,mode=1770,noexec,nosuid,nodev.

A Permission denied on boot = a writable mount not owned 10001:10001. The fix is always the chown — never add a capability back. (The container prints these same instructions in its startup logs.)

Configuration

Driven by ROUNDCUBEMAIL_* env vars (IMAP/SMTP hosts+ports, DB DSN, plugin list, skin, upload size, TLS verification). Per-deployment PHP overrides go in a phpfpm.conf.override in the config volume; extra Roundcube config in a config.inc.php.user. TLS to your mail server is verified by default — set ROUNDCUBEMAIL_SSL_CA to pin a private CA, or (trusted LAN only, allows MITM) ROUNDCUBEMAIL_SSL_VERIFY=0.

镜像拉取方式

您可以使用以下命令拉取该镜像。请将 <标签> 替换为具体的标签版本。如需查看所有可用标签版本,请访问 标签列表页面。

轩辕镜像加速拉取命令点我查看更多 roundcube 镜像标签

docker pull docker.xuanyuan.run/eilandert/roundcube:<标签>

使用方法:

  • 登录认证方式
  • 免认证方式

DockerHub 原生拉取命令

docker pull eilandert/roundcube:<标签>

轩辕镜像配置手册

按平台快速找到配置文档

一键安装

一键安装 Docker

Linux Docker 一键安装

AI

用 AI 使用轩辕镜像

agents.md · AI 对话 · 提示词

Docker

登录仓库拉取

登录认证 · 私有仓库

专属域名拉取

免登录 · 高速拉取

Linux

Docker 镜像配置

Windows / Mac

Docker Desktop 配置

MacOS OrbStack

OrbStack 容器

Apple Container

macOS 原生容器

Docker Compose

Compose 项目配置

NAS

群晖

Synology 配置

飞牛

fnOS 镜像配置

绿联

绿联 NAS

威联通

QNAP 配置

极空间

极空间 NAS

Unraid

Unraid NAS

企业仓库

其他仓库

ghcr · Quay · nvcr

Harbor 镜像源

Proxy Repository 对接

Portainer 镜像源

Registries 配置

Nexus 镜像源

Docker Proxy 缓存

开发工具

Dev Containers

VS Code 开发容器

Podman

Podman 配置指南

Singularity / Apptainer

HPC 科学计算容器

Kubernetes

K8s Containerd

Kubernetes · Containerd

K3s

轻量级集群

面板 / 网络

爱快路由

爱快 4.0 · iKuai 镜像加速

宝塔面板

一键配置镜像源

需要其他帮助?请查看我们的 常见问题Docker 镜像访问常见问题解答 或 提交工单

镜像拉取常见问题

功能

版本功能对比

功能对比 · 版本选择

支持的镜像仓库

Docker Hub · GCR · GHCR

专属域名用法

专属域名 · 开启停用 · 多仓库

新手拉取配置

登录 · 专属域名 · 配置

docker search 限制

专属域名 · Hub 搜索

不支持 push

仅支持 pull · 不支持

拉取速度原因

带宽 · 缓存 · 冷热镜像

错误码

402 与流量用尽

402 · 流量包 · 充值

401 认证失败

401 · docker login

manifest unknown

标签错误 · 镜像不存在

410 Gone 排查

410 · Docker 升级

429 限流

免费版 · 专业版 · 企业版 · 请求频率

其他报错

DNS 超时

DNS 解析 · 网络超时

TLS 证书失败

no matching manifest(架构)

docker.sock / daemon

账号

失败是否计费

manifest · blob · 计费

申请开票(企业 / 个人)

开票 · 发票 · 工单

修改登录密码

网站 · 仓库 · 重置

注销账户

工单 · 数据 · 注销

原理

mirrors 不生效

daemon.json · 重启

去掉域名前缀

docker tag · 重命名

指定架构拉取

ARM64 · AMD64 · 多架构

latest 与「最新」

digest · 版本号 · 标签

查看全部问题→

用户好评

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

用户头像

oldzhang

运维工程师

Linux服务器

5

"Docker访问体验非常流畅,大镜像也能快速完成下载。"

轩辕镜像
镜像详情
...
eilandert/roundcube
定价查看流量套餐与价格
博客Docker 镜像公告与技术博客
专业版 · 高速稳定拉取镜像
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
50GB 仅 ¥8/年
专业版 · 高速稳定拉取镜像
50GB 仅 ¥8/年
高速镜像下载·在线技术支持·99.95% SLA 保障·付费会员免广告
用户协议·隐私政策·增值电信业务经营许可证:浙B2-20261007·©2024-2026 源码跳动©2024-2026 杭州源码跳动科技有限公司·商务合作:点击复制邮箱

更多相关 Docker 镜像与资源

以下是 eilandert/roundcube 相关的常用 Docker 镜像,适用于 不同场景 等不同场景:

  • mailserver2/mailserver Docker 镜像说明(Mail Server 2 邮件服务器,适合自建 SMTP/IMAP 邮件服务)

更多 roundcube 镜像推荐

roundcube/roundcubemail logo

roundcube/roundcubemail

roundcube
Roundcube Webmail套件是基于Web的邮件客户端,提供邮件收发与管理功能,支持通过浏览器访问使用邮件服务。
194 次收藏1000万+ 次下载
4 天前更新
robbertkl/roundcube logo

robbertkl/roundcube

robbertkl
这是Roundcube的Docker容器,提供开源Webmail服务,支持CardDAV插件,基于稳定版本构建,使用NGINX,适合快速部署轻量级邮件客户端,可单独使用或配合邮件服务器。
34 次收藏100万+ 次下载
7 年前更新
roundcube/google-spell-pspell logo

roundcube/google-spell-pspell

roundcube
PHP pspell替代品,用于实现Google拼写检查XML API功能,提供与Google拼写检查XML API兼容的拼写检查服务。
1 次收藏1万+ 次下载
4 年前更新
instrumentisto/roundcube logo

instrumentisto/roundcube

instrumentisto
Roundcube Webmail Docker镜像是一个基于浏览器的多语言IMAP客户端,提供类应用用户界面,支持MIME、地址簿、文件夹管理、邮件搜索和拼写检查等完整邮件客户端功能。
4 次收藏100万+ 次下载
5 个月前更新
alunduil/roundcube logo

alunduil/roundcube

alunduil
Docker化的Roundcube Webmail镜像,通过环境变量配置,提供浏览器端多语言IMAP邮件客户端功能,支持邮件管理、地址簿、拼写检查等,界面可定制且易于扩展。
13 次收藏10万+ 次下载
9 年前更新
osixia/roundcube logo

osixia/roundcube

osixia
Roundcube是一个开源的Web邮件客户端,提供直观的用户界面和邮件管理功能,支持地址簿、插件扩展,适用于个人和企业邮件系统部署。
5.9千+ 次下载
6 年前更新

查看更多 roundcube 相关镜像