# Spec reference: ADR-039, docs/specification.md ~lines 25096-25114
schema_version: "1.0"
name: container-runtime
description: "A container runtime engine (Docker, Podman, containerd, etc.)"
resource_kind: physical
sandbox_strategy: none
user_addable: true
built_in: true
cli_args:
  - name: engine-type
    type: string
    required: true
    description: "Container engine type (docker, podman, containerd, lxc, lxd, cri-o, other)"
  - name: socket-path
    type: path
    required: false
    description: "Path to the container engine socket"
  - name: endpoint
    type: string
    required: false
    description: "Remote endpoint URL for the engine API"
parent_types: []
child_types: ["container-image", "container-instance", "container-volume", "container-network"]
auto_discovery:
  enabled: true
  scan_depth: 1
  rules:
    - type: container-image
      pattern: "images/*"
    - type: container-instance
      pattern: "containers/*"
    - type: container-volume
      pattern: "volumes/*"
    - type: container-network
      pattern: "networks/*"
capabilities:
  read: true
  write: false
  sandbox: false
  checkpoint: false
handler: "cleveragents.resource.handlers.container:ContainerRuntimeHandler"
