AppleContainerGUI icon indicating copy to clipboard operation
AppleContainerGUI copied to clipboard

Container 1.6.0: blank State column and incorrect system-running detection

Open pch18 opened this issue 1 month ago • 3 comments

Summary

AppleContainerGUI can communicate with Apple Container 1.6.0 and execute per-container start/stop commands, but container state presentation and system-running detection are incorrect.

Environment

  • AppleContainerGUI 1.0 (build 1), downloaded as the ZIP from this repository
  • Apple Container client/server 1.6.0 (release, commit ca4884f)
  • macOS 27.0.1 (26A434), Apple silicon / arm64

Actual versus expected behavior

Area Actual Expected
Containers table: State column Blank for both running and stopped containers; names, images and ports are populated Display the actual running/stopped state
System toolbar Start Container System enabled and Stop Container System disabled while the service is running Recognize the running service and enable Stop Container System
Per-container Start/Stop Both successfully control a disposable test container Keep this functionality and reflect the resulting state in the table

Reproduction steps

  1. Start the Container service with container system start if necessary.
  2. Create a disposable container using an unused name: container run -d --name gui-state-check docker.io/library/debian:trixie-slim sleep 600
  3. Open AppleContainerGUI → Containers → Refresh.
  4. Observe the empty State column and the disabled Stop Container System button.
  5. Compare with container system status and container list --all in a terminal.
  6. Select only the disposable container and click Stop Container; verify with the CLI that it is stopped.
  7. Click Start Container; verify with the CLI that it is running again.
  8. Open Inspect. JSON details are available despite the blank State column.
  9. Clean up the disposable container using container stop gui-state-check and container delete gui-state-check.

Verified results

  • The CLI reported the Container system as running, with client and server both at 1.6.0.
  • GUI Stop Container → CLI confirmed stopped.
  • GUI Start Container → CLI confirmed running.
  • Inspect successfully displayed JSON details.
  • The disposable test container was removed; existing application containers were not stopped or modified by the test.
  • Whole-system stop/start was not tested, to avoid interrupting existing services. Image, volume and network operations are outside this report's tested scope.

UI locations to inspect

  1. Top-left system controls: Stop Container System is greyed out even though the backend is reachable and running.
  2. State column between Image and Ports: visible rows have blank cells, while other columns contain values.
  3. Bottom Last Command panel: the successful per-container start command returns the test container's name. This distinguishes the display/detection failure from a general inability to invoke the CLI.

Possible compatibility point

The observed container list --all --format json output places state under status.state. Minimal illustrative excerpt with an example ID:

[{"id":"example-container","status":{"state":"running"}}]

The container system status output uses a FIELD/VALUE table. Relevant excerpt:

FIELD               VALUE
status              running
client.version      1.6.0
server.version      1.6.0

Please check state extraction and service-status parsing against these formats. This is a diagnostic hypothesis, not a confirmed source-code diagnosis.

Impact and current workaround

Users cannot reliably distinguish running from stopped containers in the table, and system controls suggest an already-running service is stopped. Basic lifecycle commands work, but CLI checks are required to verify the actual state. This report does not claim that all GUI functionality is broken.

pch18 avatar Oct 23 '26 15:10 pch18

Screenshot evidence

This is an unmodified GUI capture from the lifecycle test described above.

  • A — Top-left system controls: Start Container System is enabled, while Stop Container System is greyed out. The CLI independently confirmed that the backend was running.
  • B — State column (between Image and Ports): the visible state cells are blank, although names, images and ports are populated. The CLI showed both running and stopped containers.
  • C — Bottom Last Command panel: the GUI successfully executed container start apple-gui-check-20261024 and returned the container name. The CLI confirmed the running state, so basic command execution works despite the incorrect status presentation.

The GUI retains the list and command output from the test; the disposable test container was subsequently removed. This screenshot is not presented as a freshly synchronized inventory.

Image

pch18 avatar Oct 23 '26 15:10 pch18

Hi Thank you for the issue report. I'm currently working on version 1.1 and will adress your points. :-) I'm almost done with the new version, stay tuned.

KeepCoolCH avatar Oct 26 '26 19:10 KeepCoolCH

New Release V.1.1 is online, have fun :-)

KeepCoolCH avatar Oct 26 '26 21:10 KeepCoolCH