package operatingsystem

import "github.com/dotcloud/docker/pkg/parsers/operatingsystem"

Index

Functions

func GetOperatingSystem

func GetOperatingSystem() (string, error)

GetOperatingSystem gets the name of the current operating system.

func IsContainerized

func IsContainerized() (bool, error)

IsContainerized returns true if we are running inside a container. No-op on FreeBSD and Darwin, always returns false.

Source Files

operatingsystem_unix.go

Version
v1.13.0-rc3
Published
Dec 5, 2016
Platform
darwin/amd64
Imports
2 packages
Last checked
1 hour ago

Tools for package owners.