github.com/akashshinde/docker@v1.9.1/daemon/volumes_windows.go (about)

     1  // +build windows
     2  
     3  package daemon
     4  
     5  import (
     6  	"github.com/docker/docker/daemon/execdriver"
     7  	"github.com/docker/docker/runconfig"
     8  )
     9  
    10  // copyOwnership copies the permissions and group of a source file to the
    11  // destination file. This is a no-op on Windows.
    12  func copyOwnership(source, destination string) error {
    13  	return nil
    14  }
    15  
    16  // setupMounts configures the mount points for a container.
    17  // setupMounts on Linux iterates through each of the mount points for a
    18  // container and calls Setup() on each. It also looks to see if is a network
    19  // mount such as /etc/resolv.conf, and if it is not, appends it to the array
    20  // of mounts. As Windows does not support mount points, this is a no-op.
    21  func (container *Container) setupMounts() ([]execdriver.Mount, error) {
    22  	return nil, nil
    23  }
    24  
    25  // verifyVolumesInfo ports volumes configured for the containers pre docker 1.7.
    26  // As the Windows daemon was not supported before 1.7, this is a no-op
    27  func (daemon *Daemon) verifyVolumesInfo(container *Container) error {
    28  	return nil
    29  }
    30  
    31  // registerMountPoints initializes the container mount points with the
    32  // configured volumes and bind mounts. Windows does not support volumes or
    33  // mount points.
    34  func (daemon *Daemon) registerMountPoints(container *Container, hostConfig *runconfig.HostConfig) error {
    35  	return nil
    36  }