repo_description: CLI tool for spawning and running containers according to the OCI specification
repo_topics: containers docker oci
code: package main
  
  import (
  	"os"
  
  	"github.com/opencontainers/runc/libcontainer"
  	_ "github.com/opencontainers/runc/libcontainer/nsenter"
  )
  
  func init() {
  	if len(os.Args) > 1 && os.Args[1] == "init" {
  		// This is the golang entry point for runc init, executed
  		// before main() but after libcontainer/nsenter's nsexec().
  		libcontainer.Init()
  	}
  }
  