spiegel_podman/docs
W. Trevor King f6a2b6bf2b hooks: Add pre-create hooks for runtime-config manipulation
There's been a lot of discussion over in [1] about how to support the
NVIDIA folks and others who want to be able to create devices
(possibly after having loaded kernel modules) and bind userspace
libraries into the container.  Currently that's happening in the
middle of runc's create-time mount handling before the container
pivots to its new root directory with runc's incorrectly-timed
prestart hook trigger [2].  With this commit, we extend hooks with a
'precreate' stage to allow trusted parties to manipulate the config
JSON before calling the runtime's 'create'.

I'm recycling the existing Hook schema from pkg/hooks for this,
because we'll want Timeout for reliability and When to avoid the
expense of fork/exec when a given hook does not need to make config
changes [3].

[1]: https://github.com/opencontainers/runc/pull/1811
[2]: https://github.com/opencontainers/runc/issues/1710
[3]: https://github.com/containers/libpod/issues/1828#issuecomment-439888059

Signed-off-by: W. Trevor King <wking@tremily.us>
2019-01-08 21:06:17 -08:00
..
links Allow alias for list, ls, ps to work 2018-12-23 09:38:57 -05:00
tutorials Merge pull request #1900 from vbatts/cni-config-instructions 2018-12-20 03:55:03 -08:00
varlink Fix varlink remove image force 2018-05-11 16:05:10 +00:00
containers-mounts.conf.5.md docs: consistent headings 2018-08-30 16:51:56 +00:00
dckrman.sh Add support for mimicing docker CLI 2018-01-18 07:01:48 -05:00
generate.go Rename varlink socket and interface 2018-08-06 14:49:11 +00:00
libpod.conf.5.md hooks: Add pre-create hooks for runtime-config manipulation 2019-01-08 21:06:17 -08:00
play.png Initial checkin from CRI-O repo 2017-11-01 11:24:59 -04:00
podman-attach.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-build.1.md Add troubleshooting for sparse files 2018-12-30 08:08:13 -05:00
podman-commit.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-container-checkpoint.1.md Add '--tcp-established' to checkpoint/restore man page 2018-11-28 08:00:38 +01:00
podman-container-cleanup.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-container-exists.1.md add podman container|image exists 2018-11-26 09:19:39 -06:00
podman-container-prune.1.md Add ability to prune containers and images 2018-12-05 19:57:54 -06:00
podman-container-refresh.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-container-restore.1.md Add '--tcp-established' to checkpoint/restore man page 2018-11-28 08:00:38 +01:00
podman-container-runlabel.1.md Minimally update for the DockerInsecureSkipTLSVerify type change 2018-12-06 23:34:59 +01:00
podman-container.1.md Allow alias for list, ls, ps to work 2018-12-23 09:38:57 -05:00
podman-cp.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-create.1.md add container-init support 2019-01-04 11:42:03 +01:00
podman-diff.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-exec.1.md Add a --workdir option to 'podman exec' 2019-01-08 17:42:37 +01:00
podman-export.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-generate-kube.1.md Add Play 2018-12-19 14:20:55 -06:00
podman-generate.1.md generate kube 2018-12-04 08:03:49 -06:00
podman-history.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-image-exists.1.md add podman container|image exists 2018-11-26 09:19:39 -06:00
podman-image-prune.1.md Add ability to prune containers and images 2018-12-05 19:57:54 -06:00
podman-image-trust.1.md Support podman image trust command 2018-12-19 13:36:11 -05:00
podman-image.1.md Allow alias for list, ls, ps to work 2018-12-23 09:38:57 -05:00
podman-images.1.md Add space between num & unit in images output 2018-11-12 14:06:31 -05:00
podman-import.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-info.1.md Add the configuration file used to setup storage to podman info 2019-01-07 10:02:26 -05:00
podman-inspect.1.md Switch all referencs to image.ContainerConfig to image.Config 2018-12-21 15:59:34 -05:00
podman-kill.1.md Make kill, pause, and unpause parallel. 2018-11-01 14:23:55 -05:00
podman-load.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-login.1.md add --get-login command to podman-login. 2018-12-17 11:20:40 -05:00
podman-logout.1.md Support auth file environment variable & add change to man pages 2018-10-12 10:05:14 -04:00
podman-logs.1.md docs: make HISTORY consistent 2018-08-30 16:51:56 +00:00
podman-mount.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-pause.1.md Make kill, pause, and unpause parallel. 2018-11-01 14:23:55 -05:00
podman-play-kube.1.md Add Play 2018-12-19 14:20:55 -06:00
podman-play.1.md Add Play 2018-12-19 14:20:55 -06:00
podman-pod-create.1.md Allow users to expose ports from the pod to the host 2018-11-20 09:49:34 -06:00
podman-pod-exists.1.md podman pod exists 2018-12-03 12:00:18 -06:00
podman-pod-inspect.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-pod-kill.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-pod-pause.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-pod-ps.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-pod-restart.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-pod-rm.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-pod-start.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-pod-stop.1.md add timeout to pod stop 2018-12-07 10:27:41 -06:00
podman-pod-top.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-pod-unpause.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-pod.1.md docs: consistent headings 2018-08-30 16:51:56 +00:00
podman-port.1.md docs: fix headers 2018-08-30 16:51:56 +00:00
podman-ps.1.md Add --sync flag to podman ps 2018-12-06 09:10:45 -05:00
podman-pull.1.md Minimally update for the DockerInsecureSkipTLSVerify type change 2018-12-06 23:34:59 +01:00
podman-push.1.md Minimally update for the DockerInsecureSkipTLSVerify type change 2018-12-06 23:34:59 +01:00
podman-restart.1.md Make restart parallel and add --all 2018-11-01 13:14:12 -05:00
podman-rm.1.md Remove --sync flag from podman rm 2018-12-06 09:10:45 -05:00
podman-rmi.1.md Add ability to prune containers and images 2018-12-05 19:57:54 -06:00
podman-run.1.md add container-init support 2019-01-04 11:42:03 +01:00
podman-save.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-search.1.md Minimally update for the DockerInsecureSkipTLSVerify type change 2018-12-06 23:34:59 +01:00
podman-start.1.md Default --sig-proxy to true for 'podman start --attach' 2019-01-08 16:34:09 +01:00
podman-stats.1.md docs: Follow man-pages(7) suggestions for SYNOPSIS 2018-07-04 09:40:37 +00:00
podman-stop.1.md Add --all flag to podman kill 2018-09-30 07:48:41 +02:00
podman-tag.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-top.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-umount.1.md Add --force to podman umount to force the unmounting of the rootfs 2018-08-01 17:53:30 +00:00
podman-unpause.1.md Make kill, pause, and unpause parallel. 2018-11-01 14:23:55 -05:00
podman-varlink.1.md docs: consistent format for example 2018-08-30 16:51:56 +00:00
podman-version.1.md implement --format for version command 2018-11-25 12:42:05 +01:00
podman-volume-create.1.md Add "podman volume" command 2018-12-06 10:17:16 +00:00
podman-volume-inspect.1.md Add "podman volume" command 2018-12-06 10:17:16 +00:00
podman-volume-ls.1.md Add "podman volume" command 2018-12-06 10:17:16 +00:00
podman-volume-prune.1.md Add "podman volume" command 2018-12-06 10:17:16 +00:00
podman-volume-rm.1.md Add "podman volume" command 2018-12-06 10:17:16 +00:00
podman-volume.1.md Add "podman volume" command 2018-12-06 10:17:16 +00:00
podman-wait.1.md Add --interval flag to podman wait 2018-09-13 10:11:00 -04:00
podman.1.md hooks: Add pre-create hooks for runtime-config manipulation 2019-01-08 21:06:17 -08:00