github.com/go/docker@v1.12.0-rc2/cmd/dockerd/daemon_plugin_support.go (about)

     1  // +build linux,experimental
     2  
     3  package main
     4  
     5  import (
     6  	"github.com/docker/docker/daemon"
     7  	"github.com/docker/docker/libcontainerd"
     8  	"github.com/docker/docker/plugin"
     9  	"github.com/docker/docker/registry"
    10  )
    11  
    12  func pluginInit(config *daemon.Config, remote libcontainerd.Remote, rs registry.Service) error {
    13  	return plugin.Init(config.Root, config.ExecRoot, remote, rs, config.LiveRestore)
    14  }