Exec using API

This commit is contained in:
Stanislav Pavlovichev
2018-10-13 08:33:53 +03:00
parent e68f7ba96a
commit 967a87a65f
7 changed files with 105 additions and 17 deletions

View File

@@ -149,3 +149,7 @@ func (c *Container) Restart() {
}
}
}
func (c *Container) Exec(cmd []string) error {
return c.manager.Exec(cmd)
}