package platform

import "github.com/docker/docker/pkg/platform"

Package platform provides helper function to get the runtime architecture for different platforms.

Index

Variables

var (
	// Architecture holds the runtime architecture of the process.
	Architecture string
	// OSType holds the runtime operating system type (Linux, …) of the process.
	OSType string
)

Source Files

architecture_unix.go platform.go

Version
v23.0.11+incompatible
Published
Apr 9, 2024
Platform
js/wasm
Imports
3 packages
Last checked
5 minutes ago

Tools for package owners.