dokku

dokkuMIT活跃维护

基于 Docker 的自托管 PaaS,用一条 git push 就能完成应用构建、部署和生命周期管理,适合想自己搭 Heroku 式平台的团队。

A docker-powered PaaS that helps you build and manage the lifecycle of applications

v0.38.34发布于 2026-10-30 02:34 UTC32,223star +3 / 7 天2,099fork同步于 2026-11-10 17:21 UTC

怎么上手

由 README 提炼,执行前请确认
wget -NP . https://dokku.com/install/v0.38.34/bootstrap.sh
sudo DOKKU_TAG=v0.38.34 bash bootstrap.sh
硬件要求按 README 说明

README 未说明具体硬件配置,仅要求一台全新 VM,系统为 Ubuntu 22.04/24.04/26.04 或 Debian 11+(amd64/arm64)。

下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

基于 Docker 的迷你 PaaS,让你在单台服务器上像用 Heroku 一样部署和管理应用

基于 Docker 的自托管 PaaS,用一条 git push 就能完成应用构建、部署和生命周期管理,适合想自己搭 Heroku 式平台的团队。

核心能力

  • 用 git push 触发基于 Docker 的应用构建与部署
  • 在单台 VM 上提供类 Heroku 的应用生命周期管理
  • 通过 dokku ssh-keys:add 管理部署用户与 SSH 密钥
  • 用 dokku domains:set-global 配置全局域名

容易踩的坑

需准备可用于部署的 SSH 密钥对,安装前不存在则需装完后用 dokku ssh-keys:add 手动导入;安装后还需配置全局域名和用户访问才算完成;仅支持 Ubuntu 22.04+ 与 Debian 11+ 的全新 VM,其他系统未获支持。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v0.38.34
  1. v0.38.34最新正式版2026-10-30 · 2026-10-30 02:34 UTC

    Install/update via the bootstrap script:

    wget -NP . https://dokku.com/install/v0.38.34/bootstrap.sh
    sudo DOKKU_TAG=v0.38.34 bash bootstrap.sh
    

    Bug Fixes

    • #9223: @josegonzalez Attach every network in attach-post-create

    New Features

    • #9225: @josegonzalez Add --no-cache flag to ps:rebuild
  2. v0.38.332026-10-29 · 2026-10-29 18:27 UTC
    查看更新说明

    Install/update via the bootstrap script:

    wget -NP . https://dokku.com/install/v0.38.33/bootstrap.sh
    sudo DOKKU_TAG=v0.38.33 bash bootstrap.sh
    

    Bug Fixes

    • #9221: @fatihesergg Add missing wget dependency to Makefile for source installs

    Documentation

    • #9212: @zackfern Delimit passed flags in dockerfile-start-cmd example with a double-dash

    Tests

    • #9215: @josegonzalez chore(deps): drop unused packages from dockerfile-release lock
    • #9214: @dependabot[bot] chore(deps): bump body-parser from 2.3.0 to 2.4.0 in /tests/apps/checks-root in the npm_and_yarn group across 1 directory
    • #9206: @dependabot[bot] chore(deps): bump ruby from 4.0.7 to 4.0.9 in /tests/apps/dockerfile-entrypoint
    • #9203: @dependabot[bot] chore(deps): bump sass from 1.106.0 to 1.106.1 in /tests/apps/multi
    • #9197: @dependabot[bot] chore(deps): bump golang from 1.27.2 to 1.27.3 in /tests/apps/gogrpc
    • #9193: @dependabot[bot] chore(deps): bump golang from 1.27.2 to 1.27.3 in /tests/apps/go-fail-postdeploy
    • #9195: @dependabot[bot] chore(deps): bump golang from 1.27.2 to 1.27.3 in /tests/apps/go-fail-predeploy
    • #9194: @dependabot[bot] chore(deps): bump golang from 1.27.2 to 1.27.3 in /tests/apps/zombies-dockerfile-no-tini
    • #9192: @dependabot[bot] chore(deps): bump golang from 1.27.2 to 1.27.3 in /tests/apps/zombies-dockerfile-tini
    • #9191: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 298 to 299 in /tests/apps/php

    Dependencies

    • #9220: @dokku-bot chore: bump dokku-update to 0.11.0
    • #9216: @josegonzalez chore(deps): upgrade go-jose to 4.1.6
    • #9210: @dependabot[bot] chore(deps): bump github.com/fluxcd/pkg/kustomize in /plugins/scheduler-k3s
    • #9209: @dependabot[bot] chore(deps): bump mkdocs-material from 9.7.7 to 9.8.0 in /docs/_build
    • #9208: @dependabot[bot] chore(deps): bump importlib-metadata from 9.0.1 to 10.1.0 in /docs/_build
    • #9207: @dependabot[bot] chore(deps): bump dokku/openresty-docker-proxy from 0.13.0 to 0.13.1 in /plugins/openresty-vhosts
    • #9204: @dependabot[bot] chore(deps): bump github.com/cert-manager/cert-manager in /plugins/scheduler-k3s
    • #9199: @dependabot[bot] chore(deps): bump traefik from v3.7.15 to v3.7.16 in /plugins/traefik-vhosts
    • #9202: @dependabot[bot] chore(deps): bump soupsieve from 3.0.3 to 3.0.4 in /docs/_build
    • #9201: @dependabot[bot] chore(deps): bump zipp from 4.1.1 to 4.1.2 in /docs/_build
    • #9198: @dependabot[bot] chore(deps): bump python-dateutil from 2.9.0.post0 to 3.0.0 in /docs/_build
  3. v0.38.322026-10-25 · 2026-10-25 03:17 UTC
    查看更新说明

    Install/update via the bootstrap script:

    wget -NP . https://dokku.com/install/v0.38.32/bootstrap.sh
    sudo DOKKU_TAG=v0.38.32 bash bootstrap.sh
    

    Bug Fixes

    • #9189: @josegonzalez Release deploy locks on exit and honor apps:lock
    • #9128: @sean0407 Forward forced cleanup flag (#9127)
    • #9182: @josegonzalez Read alternate image tags from the retired container
    • #9180: @josegonzalez Clean up stale extracted files on deploy
    • #9176: @byjg Haproxy letsencrypt integration and upgrade EasyHAProxy to 6.5.1
    • #9175: @josegonzalez Only clear the requested resource type
    • #9172: @josegonzalez Serialize concurrent property updates
    • #9169: @josegonzalez Accept all docker memory units in resource values
    • #9129: @josegonzalez Respect DOKKU_LIB_HOST_ROOT for storage bind mounts
    • #9130: @josegonzalez Preserve arguments such as --version and -n when running commands over SSH
    • #9148: @josegonzalez Do not retire an image that another app uses as its source image
    • #9131: @josegonzalez Keep the git source-image property in sync and harden the deploy lock
    • #9102: @josegonzalez Allow enabling nginx-vhosts when skipped at install

    New Features

    • #9190: @josegonzalez Add a whole-set form and clear for chart overrides
    • #9152: @Schlepptop Make nginx-proxy-http-version configurable per app or globally
    • #9104: @josegonzalez Allow cron-entries to set a per-entry MAILTO

    Documentation

    • #9132: @SatvikMishra08 Fix broken internal anchors and links
    • #9119: @fmtappendf Fix some typos in comment
    • #9116: @cevheri Add LibreDB Studio plugin to community plugin list

    Tests

    • #9186: @dependabot[bot] chore(deps): bump sass from 1.105.2 to 1.106.0 in /tests/apps/multi
    • #9187: @dependabot[bot] chore(deps-dev): bump heroku/heroku-buildpack-php from 297 to 298 in /tests/apps/php
    • #9181: @josegonzalez Pause the retire timer during source image test
    • #9170: @josegonzalez Fix pre-existing gofmt and markdown lint issues
    • #9155: @dependabot[bot] chore(deps): bump golang from 1.27.1 to 1.27.2 in /tests/apps/zombies-dockerfile-no-tini
    • #9163: @dependabot[bot] chore(deps): bump sass from 1.105.1 to 1.105.2 in /tests/apps/multi
    • #9161: @dependabot[bot] chore(deps): bump golang from 1.27.1 to 1.27.2 in /tests/apps/gogrpc
    • #9160: @dependabot[bot] chore(deps): bump golang from 1.27.1 to 1.27.2 in /tests/apps/go-fail-predeploy
    • #9159: @dependabot[bot] chore(deps): bump golang from 1.27.1 to 1.27.2 in /tests/apps/zombies-dockerfile-tini
    • #9158: @dependabot[bot] chore(deps): bump golang from 1.27.1 to 1.27.2 in /tests/apps/go-fail-postdeploy
    • #9150: @dependabot[bot] chore(deps): bump python from 3.15.0rc3-bookworm to 3.15.0-bookworm in /tests/apps/dockerfile-release
    • #9145: @dependabot[bot] chore(deps): bump djangorestframework from 3.18.1 to 3.18.3 in /tests/apps/dockerfile-release
    • #9144: @dependabot[bot] chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/nodejs-express-noprocfile
    • #9143: @dependabot[bot] chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/nodejs-express-noappjson
    • #9141: @dependabot[bot] chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/nodejs-express
    • #9140: @dependabot[bot] chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/gitsubmodules
    • #9139: @dependabot[bot] chore(deps): bump python from 3.15.0rc2-bookworm to 3.15.0rc3-bookworm in /tests/apps/dockerfile-release
    • #9138: @dependabot[bot] chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/dockerfile-procfile-bad
    • #9135: @dependabot[bot] chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/checks-root
    • #9134: @dependabot[bot] chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/dockerfile-procfile
    • #9133: @dependabot[bot] chore(deps): bump express from 5.2.1 to 5.3.0 in /tests/apps/dockerfile-app-json-formations
    • #9115: @dependabot[bot] chore(deps): bump django from 5.2.17 to 5.2.18 in /tests/apps/dockerfile-release
    • #9113: @depend
  4. v0.38.312026-09-27 · 2026-09-27 01:46 UTC
    查看更新说明

    Install/update via the bootstrap script:

    wget -NP . https://dokku.com/install/v0.38.31/bootstrap.sh
    sudo DOKKU_TAG=v0.38.31 bash bootstrap.sh
    

    Bug Fixes

    • #9084: @josegonzalez Report stored node-sysctls images globally
    • #9082: @josegonzalez Verify existing apps in git commands
    • #9081: @josegonzalez Validate run:logs arguments
    • #9080: @josegonzalez Check app directory when creating a new app
    • #9079: @josegonzalez Validate app name in app-scoped commands
    • #9077: @josegonzalez Respect quoting in procfile commands and remove support for bare shell operators
    • #9076: @josegonzalez Validate app.json healthcheck path and scheme

    Dependencies

    • #9078: @dependabot[bot] chore(deps): bump pyparsing from 3.3.2 to 3.3.3 in /docs/_build
  5. v0.38.302026-09-23 · 2026-09-23 22:37 UTC
    查看更新说明

    Install/update via the bootstrap script:

    wget -NP . https://dokku.com/install/v0.38.30/bootstrap.sh
    sudo DOKKU_TAG=v0.38.30 bash bootstrap.sh
    

    New Features

    • #9074: @josegonzalez Allow storage:mount --replace to vary fields per mount
    • #9075: @josegonzalez Report each node-sysctls scope's stored map

    Tests

    • #9071: @dependabot[bot] chore(deps): bump google.golang.org/grpc from 1.83.2 to 1.84.0 in /tests/apps/gogrpc

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Dokku

    Build Status Ubuntu Package Arch Package Slack Group Documentation OpenCollective OpenCollective Patreon

    Docker powered mini-Heroku. The smallest PaaS implementation you've ever seen.

    Sponsors

    Become a sponsor and get your logo on our README on GitHub with a link to your site. [Become a sponsor]

    OpenCollective Sponsor 0 OpenCollective Sponsor 1 OpenCollective Sponsor 2 OpenCollective Sponsor 3 OpenCollective Sponsor 4 OpenCollective Sponsor 5 OpenCollective Sponsor 6 OpenCollective Sponsor 7 OpenCollective Sponsor 8 OpenCollective Sponsor 9 OpenCollective Sponsor 10 OpenCollective Sponsor 11 OpenCollective Sponsor 12 OpenCollective Sponsor 13 OpenCollective Sponsor 14 OpenCollective Sponsor 15 OpenCollective Sponsor 6 OpenCollective Sponsor 17 OpenCollective Sponsor 18

    Backers

    Support us with a monthly donation and help us continue our activities. [Become a backer]

    OpenCollective Backer 0 OpenCollective Backer 1 OpenCollective Backer 2 OpenCollective Backer 3 OpenCollective Backer 4 OpenCollective Backer 5 OpenCollective Backer 6 OpenCollective Backer 7 OpenCollective Backer 8 OpenCollective Backer 9 OpenCollective Backer 10 OpenCollective Backer 11 OpenCollective Backer 12 OpenCollective Backer 13 OpenCollective Backer 14 OpenCollective Backer 15 OpenCollective Backer 16 OpenCollective Backer 17 OpenCollective Backer 18 OpenCollective Backer 19 OpenCollective Backer 20 OpenCollective Backer 21 OpenCollective Backer 22 OpenCollective Backer 23 OpenCollective Backer 24 OpenCollective Backer 25 OpenCollective Backer 26 OpenCollective Backer 27 OpenCollective Backer 28 OpenCollective Backer 29

    Requirements

    A fresh VM running any of the following operating systems:

    • Ubuntu 22.04 / 24.04 / 26.04 (amd64/arm64) - Any currently supported release
    • Debian 11+ (amd64/arm64)

    An SSH keypair that can be used for application deployment. If this exists before installation, it will be automatically imported into dokku. Otherwise, you will need to import the keypair manually after installation using dokku ssh-keys:add.

    Installation

    To install the latest stable release, run the following commands as a user who has access to sudo:

    wget -NP . https://dokku.com/install/v0.38.34/bootstrap.sh
    sudo DOKKU_TAG=v0.38.34 bash bootstrap.sh
    

    You can then proceed to configure your server domain (via dokku domains:set-global) and user access (via dokku ssh-keys:add) to complete the installation.

    If you wish for a more unattended installation method, see these docs.

    Upgrade

    View the docs for upgrading from an older version of Dokku.

    Documentation

    Full documentation - including advanced installation docs - are available online at https://dokku.com/docs/getting-started/installation/.

    Support

    You can use GitHub Issues, check Troubleshooting in the documentation, or join us on Gliderlabs Slack in the #dokku channel.

    Contribution

    After checking GitHub Issues, the Troubleshooting Guide or having a chat with us on Gliderlabs Slack in the #dokku channel, feel free to fork and create a Pull Request.

    While we may not merge your PR as is, they serve to start conversations and improve the general Dokku experience for all users.

    License

    MIT License © Jeff Lindsay