mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
47c56e4353
Signed-off-by: John Howard <jhoward@microsoft.com>
28 lines
758 B
Go
28 lines
758 B
Go
// +build windows
|
|
|
|
package daemon
|
|
|
|
import (
|
|
"github.com/docker/docker/daemon/execdriver"
|
|
"github.com/docker/docker/runconfig"
|
|
)
|
|
|
|
// Not supported on Windows
|
|
func copyOwnership(source, destination string) error {
|
|
return nil
|
|
}
|
|
|
|
func (container *Container) setupMounts() ([]execdriver.Mount, error) {
|
|
return nil, nil
|
|
}
|
|
|
|
// 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 {
|
|
return nil
|
|
}
|
|
|
|
// 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
|
|
}
|