mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Update daemon code for containerd API changes
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
parent
5bd902b5cf
commit
aa3ce07c41
12 changed files with 86 additions and 82 deletions
|
@ -7,7 +7,7 @@ import (
|
|||
"os/exec"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/containerd/containerd/linux/runcopts"
|
||||
"github.com/containerd/containerd/linux/runctypes"
|
||||
"github.com/docker/docker/container"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
@ -42,7 +42,7 @@ func (daemon *Daemon) getLibcontainerdCreateOptions(container *container.Contain
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
opts := &runcopts.RuncOptions{
|
||||
opts := &runctypes.RuncOptions{
|
||||
Runtime: path,
|
||||
RuntimeRoot: filepath.Join(daemon.configStore.ExecRoot,
|
||||
fmt.Sprintf("runtime-%s", container.HostConfig.Runtime)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue