info_windows.go 797 B

123456789101112131415161718192021222324252627282930
  1. package daemon // import "github.com/docker/docker/daemon"
  2. import (
  3. "github.com/docker/docker/api/types"
  4. "github.com/docker/docker/api/types/system"
  5. "github.com/docker/docker/daemon/config"
  6. "github.com/docker/docker/pkg/sysinfo"
  7. )
  8. // fillPlatformInfo fills the platform related info.
  9. func (daemon *Daemon) fillPlatformInfo(v *system.Info, sysInfo *sysinfo.SysInfo, cfg *configStore) {
  10. }
  11. func (daemon *Daemon) fillPlatformVersion(v *types.Version, cfg *configStore) {}
  12. func fillDriverWarnings(v *system.Info) {
  13. }
  14. func cgroupNamespacesEnabled(sysInfo *sysinfo.SysInfo, cfg *config.Config) bool {
  15. return false
  16. }
  17. // Rootless returns true if daemon is running in rootless mode
  18. func Rootless(*config.Config) bool {
  19. return false
  20. }
  21. func noNewPrivileges(*config.Config) bool {
  22. return false
  23. }