summaryrefslogtreecommitdiff
path: root/pkg/hooks/docs/oci-hooks.5.md
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/hooks/docs/oci-hooks.5.md')
-rw-r--r--pkg/hooks/docs/oci-hooks.5.md3
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"]