package operatingsystem

import "github.com/docker/cli/components/engine/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 Windows, always returns false.

Source Files

operatingsystem_windows.go

Version
v17.12.1-ce-rc1+incompatible
Published
Feb 13, 2018
Platform
windows/amd64
Imports
2 packages
Last checked
2 hours ago

Tools for package owners.