Hello,
Claude is working on a Docker integration. The main goal is to have visibility on the Docker containers (status, RAM and CPU usage) and to allow stopping, starting or restarting a container.
I’m still in the testing phase and thinking about the part that acts on the containers.
I have 2 solutions:
- A selector with 2 contexts (1 line on the dashboard):
- Started container: the proposed selector restarts or stops
- Stopped container: the selector only offers to start
- Advantage: it’s elegant
- Disadvantage: updating the selector requires reloading the page (even if the status field itself updates in real-time).
- A button for each type of action:
- So 3 buttons: Start, Stop, Restart (3 lines always present on the dashboard)
- Advantage: no need to update the display
- Disadvantage: it takes up more space on the dashboard
My preference, however, would be the first solution… The dashboard is less cluttered and it looks cleaner; you just need to reload the page (or possible evolution of Gladys, or other solution?).
Github: https://github.com/PhilippeMA/gladys-docker
The overall view with the 2 proposals:
