13 lines
293 B
Go
13 lines
293 B
Go
|
package daemon
|
||
|
|
||
|
import (
|
||
|
"github.com/docker/docker/container"
|
||
|
"github.com/docker/docker/libcontainerd"
|
||
|
"github.com/docker/docker/oci"
|
||
|
)
|
||
|
|
||
|
func (daemon *Daemon) createSpec(c *container.Container) (*libcontainerd.Spec, error) {
|
||
|
s := oci.DefaultSpec()
|
||
|
return (*libcontainerd.Spec)(&s), nil
|
||
|
}
|