github.com/akashshinde/docker@v1.9.1/daemon/daemon_stub.go (about) 1 // +build !experimental 2 3 package daemon 4 5 import ( 6 "os" 7 8 "github.com/docker/docker/pkg/idtools" 9 "github.com/docker/docker/pkg/system" 10 "github.com/docker/docker/runconfig" 11 ) 12 13 func setupRemappedRoot(config *Config) ([]idtools.IDMap, []idtools.IDMap, error) { 14 return nil, nil, nil 15 } 16 17 func setupDaemonRoot(config *Config, rootDir string, rootUID, rootGID int) error { 18 config.Root = rootDir 19 // Create the root directory if it doesn't exists 20 if err := system.MkdirAll(config.Root, 0700); err != nil && !os.IsExist(err) { 21 return err 22 } 23 return nil 24 } 25 26 func (daemon *Daemon) verifyExperimentalContainerSettings(hostConfig *runconfig.HostConfig, config *runconfig.Config) ([]string, error) { 27 return nil, nil 28 }