mirror of
https://github.com/containers/podman.git
synced 2025-12-09 07:09:03 +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
@@ -7,6 +7,7 @@ import (
|
||||
|
||||
"github.com/containers/storage/pkg/reexec"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/projectatomic/libpod/pkg/hooks"
|
||||
"github.com/projectatomic/libpod/version"
|
||||
"github.com/sirupsen/logrus"
|
||||
"github.com/urfave/cli"
|
||||
@@ -122,6 +123,12 @@ func main() {
|
||||
Name: "cpu-profile",
|
||||
Usage: "path for the cpu profiling results",
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "hooks-dir-path",
|
||||
Usage: "set the OCI hooks directory path",
|
||||
Value: hooks.DefaultHooksDir,
|
||||
Hidden: true,
|
||||
},
|
||||
cli.StringFlag{
|
||||
Name: "log-level",
|
||||
Usage: "log messages above specified level: debug, info, warn, error (default), fatal or panic",
|
||||
|
||||
Reference in New Issue
Block a user