MCPcopy Index your code
hub / github.com/containerd/go-runc

github.com/containerd/go-runc @v1.1.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.1.0 ↗ · + Follow
136 symbols 309 edges 13 files 73 documented · 54% 12 cross-repo links
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

go-runc

Build Status codecov

This is a package for consuming the runc binary in your Go applications. It tries to expose all the settings and features of the runc CLI. If there is something missing then add it, its opensource!

This needs runc @ a9610f2c0 or greater.

Docs

Docs can be found at godoc.org.

Project details

The go-runc is a containerd sub-project, licensed under the Apache 2.0 license. As a containerd sub-project, you will find the:

information in our containerd/project repository.

Extension points exported contracts — how you extend this code

IO (Interface)
IO is the terminal IO interface [3 implementers]
io.go
ProcessMonitor (Interface)
ProcessMonitor is an interface for process monitoring. It allows daemons using go-runc to have a SIGCHLD handler to han [1 …
monitor.go
ConsoleSocket (Interface)
ConsoleSocket handles the path of the socket for console access [1 implementers]
runc.go
StartCloser (Interface)
StartCloser is an interface to handle IO closure after start [2 implementers]
io.go
CheckpointAction (FuncType)
CheckpointAction represents specific actions executed during checkpoint/restore
runc.go
IOOpt (FuncType)
IOOpt sets I/O creation options
io.go

Core symbols most depended-on inside this repo

command
called by 19
command_linux.go
Wait
called by 12
monitor.go
Close
called by 11
io.go
putBuf
called by 10
utils.go
args
called by 10
runc.go
cmdOutput
called by 9
runc.go
startCommand
called by 8
runc.go
Run
called by 7
runc.go

Shape

Method 65
Function 33
Struct 30
Interface 4
FuncType 2
TypeAlias 2

Languages

Go100%

Modules by API surface

runc.go48 symbols
io.go36 symbols
events.go11 symbols
runc_test.go10 symbols
monitor.go9 symbols
console.go7 symbols
utils.go5 symbols
console_test.go4 symbols
command_linux.go2 symbols
io_windows.go1 symbols
io_unix.go1 symbols
container.go1 symbols

For agents

$ claude mcp add go-runc \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact