mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
86d8758e2b
Signed-off-by: Amit Krishnan <krish.amit@gmail.com>
12 lines
293 B
Go
12 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
|
|
}
|