Uploaded image for project: 'Cockpit'
  1. Cockpit
  2. COCKPIT-1260

List inactive quadlets

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Minor Minor
    • None
    • None
    • None
    • 8
    • False
    • Hide

      None

      Show
      None
    • False
    • Testable
    • ?
    • ?
    • ?
    • 25Q3 - Sep 10, 25Q3 - Sep 24, 25Q4 - Oct 8

      Quadlets by default when stopped don't keep a container around which means cockpit-podman can't display them out of the box.

      To implement showing them cockpit-podman will have to parse the podman-systemd-generated .service files in /run/systemd/generator and /run/user/1000/systemd/generator as systemd provides no API for this as of yet.

      The idea is to merge these quadlets into the existing containers / pods state and change the unique key to "uid-myunit.service" (by changing `makeKey`). Then show them as stopped/failed containers so eventually we can start/restart/stop them with `systemctl` in cockpit-podman.

      The systemd unit state would need to be separately queried and optionally we could discover the mountpoints/volumes, and portmappings from the .container/.pod files.

              jvanderw@redhat.com Jelle van der Waa
              jvanderw@redhat.com Jelle van der Waa
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: