Design Overview update
Some checks are pending
Build & Upload tux-dock / build (push) Waiting to run

This commit is contained in:
markmental 2025-11-24 11:40:31 -05:00
commit fb59f0f19d

View file

@ -113,6 +113,8 @@ public:
private:
static void runCommand(const std::string& cmd);
std::vector<std::pair<std::string, std::string>> getContainerList() const;
/* NEW helper retrieves all images */
std::vector<std::pair<std::string, std::string>> getImageList() const;
std::string selectContainer(const std::string& prompt);
};
```
@ -134,6 +136,7 @@ private:
- `showContainerIP` — display a containers IP address.
- `runCommand` — helper to invoke shell commands.
- `getContainerList` — retrieve Docker container IDs and names for selection menus.
- `getImageList` — gather local Docker image IDs and names for menus and reporting.
- `selectContainer` — present a menu to pick a container interactively.
This makes the codebase **extensible** — adding new Docker features like `docker logs` or `docker stats` requires only a small new method.