diff --git a/runtime.md b/runtime.md index fdaf96519..9e307f8cd 100644 --- a/runtime.md +++ b/runtime.md @@ -23,6 +23,9 @@ This allows the hooks to perform cleanup and teardown logic after the runtime de * **`bundlePath`**: (string) is the absolute path to the container's bundle directory. This is provided so that consumers can find the container's configuration and root filesystem on the host. +* **`annotations`**: (interface) holds runtime-specified information that is not structured by this specification. +The runtime could store experimental information here before it's standardized in this specification. + *Example* ```json diff --git a/state.go b/state.go index a6633815d..c1af42e0c 100644 --- a/state.go +++ b/state.go @@ -13,4 +13,6 @@ type State struct { Pid int `json:"pid"` // BundlePath is the path to the container's bundle directory. BundlePath string `json:"bundlePath"` + // Annotations holds runtime-specified information that is not structured by this specification. + Annotations interface{} `json:"annotations"` }