2015-04-27 09:25:38 -07:00
|
|
|
// +build windows
|
|
|
|
|
|
|
|
package daemon
|
|
|
|
|
2015-06-03 09:26:41 -07:00
|
|
|
import (
|
|
|
|
"github.com/docker/docker/daemon/execdriver"
|
2015-07-16 14:14:58 -07:00
|
|
|
"github.com/docker/docker/runconfig"
|
2015-06-03 09:26:41 -07:00
|
|
|
)
|
2015-05-19 13:05:25 -07:00
|
|
|
|
2015-04-27 09:25:38 -07:00
|
|
|
// Not supported on Windows
|
|
|
|
func copyOwnership(source, destination string) error {
|
2015-05-26 09:43:21 -07:00
|
|
|
return nil
|
2015-04-29 15:53:35 -07:00
|
|
|
}
|
|
|
|
|
2015-05-19 13:05:25 -07:00
|
|
|
func (container *Container) setupMounts() ([]execdriver.Mount, error) {
|
2015-05-26 09:43:21 -07:00
|
|
|
return nil, nil
|
2015-04-29 15:53:35 -07:00
|
|
|
}
|
2015-06-08 13:45:28 -07:00
|
|
|
|
2015-07-16 14:14:58 -07:00
|
|
|
// verifyVolumesInfo ports volumes configured for the containers pre docker 1.7.
|
|
|
|
// As the Windows daemon was not supported before 1.7, this is a no-op
|
|
|
|
func (daemon *Daemon) verifyVolumesInfo(container *Container) error {
|
2015-06-08 13:45:28 -07:00
|
|
|
return nil
|
|
|
|
}
|
2015-06-03 09:26:41 -07:00
|
|
|
|
2015-07-16 14:14:58 -07:00
|
|
|
// TODO Windows: This can be further factored out. Called from daemon\daemon.go
|
|
|
|
func (daemon *Daemon) registerMountPoints(container *Container, hostConfig *runconfig.HostConfig) error {
|
|
|
|
return nil
|
2015-06-03 09:26:41 -07:00
|
|
|
}
|