Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsCGroup2UnifiedMode ¶
func IsCGroup2UnifiedMode() bool
func IsRunningInDocker ¶
func IsRunningInDocker() bool
IsRunningInDocker checks if the process is running in a docker container.
Types ¶
type ContainerInfo ¶
func FindDockerContainerInfo ¶
func FindDockerContainerInfo(dockerEndpoint string) (ContainerInfo, error)
FindDockerContainerInfo find information (name or if not possible the ID, image-name) of the container that is used to run this process.
Click to show internal directories.
Click to hide internal directories.