2016-03-25 23:38:00 +00:00
|
|
|
// +build solaris
|
|
|
|
|
|
|
|
package daemon
|
|
|
|
|
2016-06-07 07:45:21 +00:00
|
|
|
import (
|
|
|
|
"github.com/docker/docker/container"
|
|
|
|
"github.com/docker/docker/runconfig"
|
|
|
|
"github.com/docker/libnetwork"
|
|
|
|
)
|
2016-03-25 23:38:00 +00:00
|
|
|
|
|
|
|
func (daemon *Daemon) setupLinkedContainers(container *container.Container) ([]string, error) {
|
|
|
|
return nil, nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (daemon *Daemon) setupIpcDirs(container *container.Container) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func killProcessDirectly(container *container.Container) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func detachMounted(path string) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func isLinkable(child *container.Container) bool {
|
2016-06-07 07:45:21 +00:00
|
|
|
// A container is linkable only if it belongs to the default network
|
|
|
|
_, ok := child.NetworkSettings.Networks[runconfig.DefaultDaemonNetworkMode().NetworkName()]
|
|
|
|
return ok
|
|
|
|
}
|
|
|
|
|
|
|
|
func enableIPOnPredefinedNetwork() bool {
|
2016-03-25 23:38:00 +00:00
|
|
|
return false
|
|
|
|
}
|
2016-09-21 19:02:20 +00:00
|
|
|
|
|
|
|
func (daemon *Daemon) isNetworkHotPluggable() bool {
|
|
|
|
return false
|
|
|
|
}
|
2016-06-07 07:45:21 +00:00
|
|
|
|
|
|
|
func setupPathsAndSandboxOptions(container *container.Container, sboxOptions *[]libnetwork.SandboxOption) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-06-12 22:20:23 +00:00
|
|
|
func (daemon *Daemon) initializeNetworkingPaths(container *container.Container, nc *container.Container) error {
|
|
|
|
return nil
|
2016-06-07 07:45:21 +00:00
|
|
|
}
|