2016-03-25 19:38:00 -04:00
|
|
|
// +build solaris
|
|
|
|
|
|
|
|
package daemon
|
|
|
|
|
2016-06-07 03:45:21 -04:00
|
|
|
import (
|
|
|
|
"github.com/docker/docker/container"
|
|
|
|
"github.com/docker/docker/runconfig"
|
|
|
|
"github.com/docker/libnetwork"
|
|
|
|
)
|
2016-03-25 19:38:00 -04: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 03:45:21 -04: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 19:38:00 -04:00
|
|
|
return false
|
|
|
|
}
|
2016-09-21 15:02:20 -04:00
|
|
|
|
|
|
|
func (daemon *Daemon) isNetworkHotPluggable() bool {
|
|
|
|
return false
|
|
|
|
}
|
2016-06-07 03:45:21 -04:00
|
|
|
|
|
|
|
func setupPathsAndSandboxOptions(container *container.Container, sboxOptions *[]libnetwork.SandboxOption) error {
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-06-12 18:20:23 -04:00
|
|
|
func (daemon *Daemon) initializeNetworkingPaths(container *container.Container, nc *container.Container) error {
|
|
|
|
return nil
|
2016-06-07 03:45:21 -04:00
|
|
|
}
|