diff options
Diffstat (limited to 'pkg/hooks/docs')
-rw-r--r-- | pkg/hooks/docs/oci-hooks.5.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/hooks/docs/oci-hooks.5.md b/pkg/hooks/docs/oci-hooks.5.md index cdc137641..493e4f157 100644 --- a/pkg/hooks/docs/oci-hooks.5.md +++ b/pkg/hooks/docs/oci-hooks.5.md @@ -119,6 +119,7 @@ The following example injects `nvidia-container-runtime-hook prestart` with part ```console $ cat /etc/containers/oci/hooks.d/nvidia.json { + "version": "1.0.0", "hook": { "path": "/usr/sbin/nvidia-container-runtime-hook", "args": ["nvidia-container-runtime-hook", "prestart"], @@ -129,7 +130,7 @@ $ cat /etc/containers/oci/hooks.d/nvidia.json }, "when": { "annotations": { - "^com\.example\.department$": ".*fluid-dynamics$" + "^com\\.example\\.department$": ".*fluid-dynamics$" } }, "stages": ["prestart"] |