sklet gc

sklet gc [flags]

Description

An image survives while a space runs it, while a container still mounts it, or for 24h after it was replaced if it is among the 3 newest of its service. Everything else goes, with every space's copy of it. --dry-run lists without removing.

Flags

FlagAliasesTypeDefaultEnvDescription
--dry-run—bool——list what would be removed, remove nothing

Technical details

Technical details

Raw command JSON

{
  "path": [
    "sklet",
    "gc"
  ],
  "slug": "gc",
  "name": "gc",
  "short": "Remove container images this node no longer runs (the agent also does it hourly and after every apply)",
  "long": "An image survives while a space runs it, while a container still mounts it, or for\n24h after it was replaced if it is among the 3 newest of its service. Everything\nelse goes, with every space's copy of it. --dry-run lists without removing.",
  "synopsis": "sklet gc [flags]",
  "flags": [
    {
      "name": "dry-run",
      "usage": "list what would be removed, remove nothing",
      "type": "bool"
    }
  ]
}

See also