Making containers run and delete
This commit is contained in:
parent
2af0f297fe
commit
5f5f4904e0
5 changed files with 55 additions and 25 deletions
|
@ -165,6 +165,14 @@ type libcontainerContainer struct {
|
|||
exited bool
|
||||
}
|
||||
|
||||
func (c *libcontainerContainer) ID() string {
|
||||
return c.c.ID()
|
||||
}
|
||||
|
||||
func (c *libcontainerContainer) Pid() (int, error) {
|
||||
return c.initProcess.Pid()
|
||||
}
|
||||
|
||||
func (c *libcontainerContainer) SetExited(status int) {
|
||||
c.exitStatus = status
|
||||
// meh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue