libpod create and run

patched version of the same code that went into crio

Signed-off-by: baude <bbaude@redhat.com>
This commit is contained in:
baude
2017-11-01 13:59:11 -05:00
parent f5019df3f5
commit 8cf07b2ad1
22 changed files with 5194 additions and 8 deletions

View File

@ -22,7 +22,6 @@ type ContainerFilter func(*Container) bool
func (r *Runtime) NewContainer(spec *spec.Spec, options ...CtrCreateOption) (ctr *Container, err error) {
r.lock.Lock()
defer r.lock.Unlock()
if !r.valid {
return nil, ErrRuntimeStopped
}