mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
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:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user