mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-10-28 06:05:24 +00:00
feat: finish the docker plugin (B15)
This commit is contained in:
1 parent
0a3f05d99d
commit
993a91c899
167 files changed
+26299
-5136
No files matched your search
@@ -4,6 +4,18 @@ Container management over SSH: list, inspect, start, stop and view logs for Dock
|
||||
|
||||
Bundled with Termix and enabled by default.
|
||||
|
||||
## Services
|
||||
|
||||
- `docker.containers` 1.0.0: `listContainers(hostId, { all? })` and
|
||||
`action(hostId, container, "start" | "stop" | "restart" | "pause" |
|
||||
"unpause" | "remove")`, run over a pooled SSH connection as the caller.
|
||||
- `docker.events` 1.0.0: `subscribe(hostId, listener)` calls the listener
|
||||
with `{ hostId, container, event }` when a container exits, starts,
|
||||
restarts or turns unhealthy, polled about once a minute as the caller.
|
||||
Subscribing the same listener again is a no-op.
|
||||
|
||||
Both need `docker.use`.
|
||||
|
||||
## Layout
|
||||
|
||||
manifest.json id, capabilities and what this plugin contributes
|
||||
|
||||
Reference in new issue
Block a user