mirror of
https://github.com/containers/podman.git
synced 2025-05-31 15:42:48 +08:00
Merge pull request #4253 from KentaTada/fix-oci-hook-md
Fix sample's JSON syntax error in oci-hooks.5.md
This commit is contained in:
@ -88,9 +88,9 @@ $ cat /etc/containers/oci/hooks.d/oci-systemd-hook.json
|
||||
"version": "1.0.0",
|
||||
"hook": {
|
||||
"path": "/usr/libexec/oci/hooks.d/oci-systemd-hook"
|
||||
}
|
||||
},
|
||||
"when": {
|
||||
"commands": [".*/init$" , ".*/systemd$"],
|
||||
"commands": [".*/init$" , ".*/systemd$"]
|
||||
},
|
||||
"stages": ["prestart", "poststop"]
|
||||
}
|
||||
@ -105,9 +105,9 @@ $ cat /etc/containers/oci/hooks.d/oci-umount.json
|
||||
"hook": {
|
||||
"path": "/usr/libexec/oci/hooks.d/oci-umount",
|
||||
"args": ["oci-umount", "--debug"],
|
||||
}
|
||||
},
|
||||
"when": {
|
||||
"hasBindMounts": true,
|
||||
"hasBindMounts": true
|
||||
},
|
||||
"stages": ["prestart"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user