[P0] Single-container lifecycle: start_container / stop_container / restart_container #1
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Gap
The connector only offers project-level start/stop/redeploy. There is no way to start, stop, or restart an individual container within a multi-container project.
Container Manager equivalent
The Container tab allows starting, stopping, and restarting individual containers.
Suggested approach
Add
start_container,stop_container,restart_containertomodules/containers.py. DSM API:SYNO.Docker.Container—stopis already confirmed working (used during live testing).startandrestartare very likely analogous methods,nameJSON-encoded.Reverse-engineering effort
Low —
stopconfirmed;start/restartneed quick verification.Priority
P0 — high value for debugging multi-container projects without restarting the whole project.