cockpit-podman icon indicating copy to clipboard operation
cockpit-podman copied to clipboard

Show toolbox containers different in the containers listing

Open jelly opened this issue 3 years ago • 2 comments

For power users who use toolbox and cockpit-podman on their machine, it might be nice to show the toolbox container different in our containers listing before accidentally removing them.

Official toolbox containers have specific labels to identify them as toolbox containers:

[jelle@t14s][~/projects/cockpit]%podman inspect d28e01ad2c37 | jq '.[].Config.Labels'
{
  "architecture": "x86_64",
  "authoritative-source-url": "registry.fedoraproject.org",
  "build-date": "2021-11-02T03:13:49.622981",
  "com.github.containers.toolbox": "true",
  "com.github.debarshiray.toolbox": "true",
  "com.redhat.build-host": "osbs-node02.iad2.fedoraproject.org",
  "com.redhat.component": "fedora-toolbox",
  "distribution-scope": "public",
  "license": "MIT",
  "maintainer": "Debarshi Ray <[email protected]>",
  "name": "fedora-toolbox",
  "release": "12",
  "summary": "Base image for creating Fedora toolbox containers",
  "usage": "This image is meant to be used with the toolbox command",
  "vcs-ref": "c637c4bfa90fb54cee97f7e942174f908857200d",
  "vcs-type": "git",
  "vendor": "Fedora Project",
  "version": "35"
}

jelly avatar Dec 16 '21 08:12 jelly

@garrett I made this issue a while ago, should be do anything with this if not I say we close it.

jelly avatar Jul 13 '22 12:07 jelly

It probably makes sense. People using toolbox and Cockpit will likely have other containers and it'd be nice to be able to see which are normal podman containers vs. special toolbox containers.

At a minimum, it'd help us developing Cockpit. :wink:

garrett avatar Jul 20 '22 10:07 garrett