From 53e46a6469f397c7f0b50e916958e4e636d9c3ab Mon Sep 17 00:00:00 2001 From: sbwml Date: Sun, 22 Feb 2026 03:21:14 +0800 Subject: [PATCH] luci-app-dockerman: add buildkit & experimental Signed-off-by: sbwml --- .../resources/view/dockerman/configuration.js | 12 ++++++++++++ po/zh_Hans/dockerman.po | 12 ++++++++++++ 2 files changed, 24 insertions(+) diff --git a/htdocs/luci-static/resources/view/dockerman/configuration.js b/htdocs/luci-static/resources/view/dockerman/configuration.js index e2e30c5..36392ca 100644 --- a/htdocs/luci-static/resources/view/dockerman/configuration.js +++ b/htdocs/luci-static/resources/view/dockerman/configuration.js @@ -22,6 +22,18 @@ return L.view.extend({ t = s.tab('globals', _('Globals')); + o = s.taboption('globals', form.Flag, 'buildkit', + _('Enable BuildKit'), + _('BuildKit is an improved backend to replace the legacy builder.')); + o.rmempty = false; + o.optional = true; + + o = s.taboption('globals', form.Flag, 'experimental', + _('Experimental Features'), + _('Enable Docker experimental features.')); + o.rmempty = false; + o.optional = true; + o = s.taboption('globals', form.Value, 'ps_flags', _('Default ps flags'), _('Flags passed to docker top (ps). Leave empty to use the built-in default.')); diff --git a/po/zh_Hans/dockerman.po b/po/zh_Hans/dockerman.po index cbbca06..9791ec8 100644 --- a/po/zh_Hans/dockerman.po +++ b/po/zh_Hans/dockerman.po @@ -2455,3 +2455,15 @@ msgstr "页面将在 10 秒后重新加载。" msgid "Stopping daemon..." msgstr "正在停止守护进程…" + +msgid "Enable BuildKit" +msgstr "启用 BuildKit" + +msgid "BuildKit is an improved backend to replace the legacy builder." +msgstr "BuildKit 是一个改进的后端,用于替代旧版构建器。" + +msgid "Experimental Features" +msgstr "实验性功能" + +msgid "Enable Docker experimental features." +msgstr "启用 Docker 的实验性功能。"