2016-03-18 21:50:19 +03:00
|
|
|
package daemon
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/docker/docker/container"
|
|
|
|
"github.com/docker/docker/libcontainerd"
|
|
|
|
)
|
|
|
|
|
|
|
|
// platformConstructExitStatus returns a platform specific exit status structure
|
|
|
|
func platformConstructExitStatus(e libcontainerd.StateInfo) *container.ExitStatus {
|
|
|
|
return &container.ExitStatus{
|
|
|
|
ExitCode: int(e.ExitCode),
|
|
|
|
OOMKilled: e.OOMKilled,
|
|
|
|
}
|
|
|
|
}
|
2016-04-02 03:02:38 +03:00
|
|
|
|
|
|
|
// postRunProcessing perfoms any processing needed on the container after it has stopped.
|
|
|
|
func (daemon *Daemon) postRunProcessing(container *container.Container, e libcontainerd.StateInfo) error {
|
|
|
|
return nil
|
|
|
|
}
|