Merge pull request #26927 from thaJeztah/update-layerstore-for-solaris

Add setupInitLayer() placeholder for Solaris
Upstream-commit: 5a8cee5ab6ba640939b1fec27596ebb1eb572988
Component: engine
This commit is contained in:
Alexander Morozov
2016-09-26 14:36:58 -07:00
committed by GitHub

View File

@ -43,6 +43,10 @@ func setupDaemonRoot(config *Config, rootDir string, rootUID, rootGID int) error
return nil
}
func (daemon *Daemon) getLayerInit() func(string) error {
return nil
}
// setupInitLayer populates a directory with mountpoints suitable
// for bind-mounting dockerinit into the container. The mountpoint is simply an
// empty file at /.dockerinit