eb7738221c
Signed-off-by: Albin Kerouanton <albinker@gmail.com>
28 lines
675 B
Go
28 lines
675 B
Go
package daemon // import "github.com/docker/docker/daemon"
|
|
|
|
import (
|
|
"github.com/docker/docker/api/types"
|
|
"github.com/docker/docker/pkg/sysinfo"
|
|
)
|
|
|
|
// fillPlatformInfo fills the platform related info.
|
|
func (daemon *Daemon) fillPlatformInfo(v *types.Info, sysInfo *sysinfo.SysInfo) {
|
|
}
|
|
|
|
func (daemon *Daemon) fillPlatformVersion(v *types.Version) {}
|
|
|
|
func fillDriverWarnings(v *types.Info) {
|
|
}
|
|
|
|
func (daemon *Daemon) cgroupNamespacesEnabled(sysInfo *sysinfo.SysInfo) bool {
|
|
return false
|
|
}
|
|
|
|
// Rootless returns true if daemon is running in rootless mode
|
|
func (daemon *Daemon) Rootless() bool {
|
|
return false
|
|
}
|
|
|
|
func (daemon *Daemon) noNewPrivileges() bool {
|
|
return false
|
|
}
|