Skip to content

Commit 92a9f3a

Browse files
wkingrh-atomic-bot
authored andcommitted
docs/podman.1: Link to hook documentation
Collecting the Podman/libpod specifics in one place allows us use the hooks documentation which the previous commit made more generic. The re-ordered SEE ALSO is because [1]: > The list should be ordered by section number and then alphabetically > by name. [1]: http://man7.org/linux/man-pages/man7/man-pages.7.html Signed-off-by: W. Trevor King <[email protected]> Closes: #772 Approved by: mheon
1 parent ea41561 commit 92a9f3a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

docs/podman.1.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,12 +121,22 @@ has the capability to debug pods/images created by crio.
121121

122122
Note this is not a volume mount. The content of the volumes is copied into container storage, not bind mounted directly from the host.
123123

124+
**hook JSON** (`/usr/share/containers/oci/hooks.d/*.json`)
125+
126+
Each `*.json` file in `/usr/share/containers/oci/hooks.d` configures a hook for Podman containers. For more details on the syntax of the JSON files and the semantics of hook injection, see `oci-hooks(5)`.
127+
128+
Podman and libpod currently support both the 1.0.0 and 0.1.0 hook schemas, although the 0.1.0 schema is deprecated.
129+
130+
For the annotation conditions, libpod uses any annotations set in the generated OCI configuration.
131+
132+
For the bind-mount conditions, only mounts explicitly requested by the caller via `--volume` are considered. Bind mounts that libpod inserts by default (e.g. `/dev/shm`) are not considered.
133+
124134
**registries.conf** (`/etc/containers/registries.conf`)
125135

126136
registries.conf is the configuration file which specifies which registries should be consulted when completing image names which do not include a registry or domain portion.
127137

128138
## SEE ALSO
129-
crio(8), storage.conf(5)
139+
`oci-hooks(5)`, `storage.conf(5)`, `crio(8)`
130140

131141
## HISTORY
132142
Dec 2016, Originally compiled by Dan Walsh <[email protected]>

0 commit comments

Comments
 (0)