diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-03-29 11:01:47 -0400 |
---|---|---|
committer | Atomic Bot <atomic-devel@projectatomic.io> | 2018-04-05 14:13:49 +0000 |
commit | fdcf633a33bbbfbc99268965ef5da03a4770619b (patch) | |
tree | 59be1ab815261e106220a4691766830b58657ac0 /cmd/podman/main.go | |
parent | ca3b2414516c04125f986775c0cbce27f0f1e505 (diff) | |
download | podman-fdcf633a33bbbfbc99268965ef5da03a4770619b.tar.gz podman-fdcf633a33bbbfbc99268965ef5da03a4770619b.tar.bz2 podman-fdcf633a33bbbfbc99268965ef5da03a4770619b.zip |
Add hooks support to podman
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Closes: #155
Approved by: mheon
Diffstat (limited to 'cmd/podman/main.go')
-rw-r--r-- | cmd/podman/main.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go index 2a0ca30ee..ef11f7905 100644 --- a/cmd/podman/main.go +++ b/cmd/podman/main.go @@ -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" @@ -123,6 +124,12 @@ func main() { 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", Value: "error", |