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 的实验性功能。"