Add Poststart hook to libcontainer config

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
Mrunal Patel
2015-11-06 18:02:50 -05:00
parent 83d7331acc
commit bb2d3cd1be
+3
View File
@@ -183,6 +183,9 @@ type Hooks struct {
// but before the user supplied command is executed from init.
Prestart []Hook
// Poststart commands are executed after the container init process starts.
Poststart []Hook
// Poststop commands are executed after the container init process exits.
Poststop []Hook
}