Registry / utility / opencontainers-runtime-spec

opencontainers-runtime-spec

JSON →
library1.3.0gogounverified

Defines the OCI runtime specification types and constants for container runtimes, including configuration and state structures.

go get github.com/opencontainers/runtime-spec
INSTALL
IMPORT
SIG · OPENCONTAINERS-RUN
O
opencontainers-runtime-spec
utilitygov1.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

specs
✓ github.com/opencontainers/runtime-spec/specs-go

Creates a basic OCI runtime specification.

package main import ( "fmt" "github.com/opencontainers/runtime-spec/specs-go" ) func main() { spec := specs.Spec{ Version: "1.0.0", Process: &specs.Process{ Args: []string{"sh"}, }, } fmt.Printf("Spec: %+v\n", spec) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
opencontainers-runtime-spec — go get opencontainers-runtime-spec · libregistry