luci-app-dockerman: JS API
authorPaul Donald <redacted>
Thu, 22 Jan 2026 03:25:49 +0000 (04:25 +0100)
committerPaul Donald <redacted>
Wed, 4 Feb 2026 05:46:30 +0000 (06:46 +0100)
commit9043114b73be44b55c36862900600e2532d5d359
tree0ece13c087f3eb7857cc3ab655fa051651ea530e
parentbaa0f16bb36e830279a21bd015aa7734f3e6df21
luci-app-dockerman: JS API

requires either a reverse proxy which injects a suitable header

Access-Control-Allow-Origin: ...

or the local browser runs an extension like:

https://addons.mozilla.org/en-US/firefox/addon/cors-everywhere/
https://addons.mozilla.org/en-US/firefox/addon/access-control-allow-origin/
https://addons.mozilla.org/en-US/firefox/addon/cors-unblock/
https://addons.mozilla.org/en-US/firefox/addon/cross-domain-cors/

Then the local JS API can make calls to:

http :// x.x.x.x:2375 or https :// x.x.x.x:2376

Signed-off-by: Paul Donald <redacted>
applications/luci-app-dockerman/README.md
applications/luci-app-dockerman/htdocs/luci-static/resources/dockerman/api.js [new file with mode: 0644]
applications/luci-app-dockerman/htdocs/luci-static/resources/dockerman/common.js
applications/luci-app-dockerman/htdocs/luci-static/resources/view/dockerman/configuration.js
applications/luci-app-dockerman/htdocs/luci-static/resources/view/dockerman/container.js
applications/luci-app-dockerman/htdocs/luci-static/resources/view/dockerman/events.js
applications/luci-app-dockerman/root/usr/share/rpcd/acl.d/luci-app-dockerman.json
git clone https://git.99rst.org/PROJECT