mirror of
https://github.com/containers/podman.git
synced 2025-09-15 04:34:45 +08:00
Add hooks support to podman
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com> Closes: #155 Approved by: mheon
This commit is contained in:

committed by
Atomic Bot

parent
ca3b241451
commit
fdcf633a33
@ -48,6 +48,7 @@ func getRuntime(c *cli.Context) (*libpod.Runtime, error) {
|
||||
if c.GlobalIsSet("cni-config-dir") {
|
||||
options = append(options, libpod.WithCNIConfigDir(c.GlobalString("cni-config-dir")))
|
||||
}
|
||||
options = append(options, libpod.WithHooksDir(c.GlobalString("hooks-dir-path")))
|
||||
|
||||
// TODO flag to set CNI plugins dir?
|
||||
|
||||
|
Reference in New Issue
Block a user