blob: 9d7342da86ae3219c8994cab52ad27cd0dbd876e [file] [log] [blame]
// +build linux,cgo
package native
type info struct {
ID string
driver *driver
}
// IsRunning is determined by looking for the
// pid file for a container. If the file exists then the
// container is currently running
func (i *info) IsRunning() bool {
_, ok := i.driver.activeContainers[i.ID]
return ok
}