{
  "id": "devcontainer-lifecycle-table",
  "kind": "table",
  "slug": "devcontainer-lifecycle",
  "iil_id": null,
  "note_url": "https://iinventedlight.com/library/notes/devcontainer-lifecycle/",
  "title": "Run Dev Container lifecycle commands at create and start",
  "columns": [
    "name",
    "source",
    "detail"
  ],
  "rows": [
    {
      "name": "initializeCommand",
      "source": "Dev Container Specification",
      "detail": "host machine"
    },
    {
      "name": "onCreateCommand",
      "source": "Dev Container Specification",
      "detail": "inside the container"
    },
    {
      "name": "updateContentCommand",
      "source": "Dev Container Specification",
      "detail": "after onCreateCommand"
    },
    {
      "name": "postCreateCommand",
      "source": "Dev Container Specification",
      "detail": "after updateContentCommand"
    },
    {
      "name": "postStartCommand",
      "source": "Dev Container Specification",
      "detail": "each time the container is successfully started"
    },
    {
      "name": "postAttachCommand",
      "source": "Dev Container Specification",
      "detail": "each time a tool has successfully attached"
    },
    {
      "name": "waitFor",
      "source": "Dev Container Specification",
      "detail": "updateContentCommand"
    }
  ],
  "related_slugs": [
    "devcontainer-features"
  ],
  "license": "CC-BY-4.0",
  "source_license": "CC-BY-4.0 (Dev Container Specification); MIT (devcontainers/cli); prose restates cited source lines in own words",
  "as_of": "2026-11-19",
  "status": "deep-draft-20261119",
  "note": "Restated from the note's GREEN sources; check those sources before relying on a value."
}