MCPcopy Index your code
hub / github.com/crc-org/crc

github.com/crc-org/crc @v2.62.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v2.62.0 ↗ · + Follow
2,059 symbols 7,530 edges 297 files 267 documented · 13% 14 cross-repo links updated 1d agov2.62.0 · 2026-07-03★ 1,385317 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

CRC - Runs Containers

main macos pkg rpm win

Introduction

crc is a tool to run containers. It manages a local OpenShift 4.x cluster, or an OKD cluster VM optimized for testing and development purposes.

If you are looking for a solution for running OpenShift 3.x, you will need tools such as oc cluster up, Minishift or CDK.

Usage data

The first time CRC is run, you will be asked to opt-in to Red Hat’s telemetry collection program.

With your approval, CRC collects pseudonymized usage data and sends it to Red Hat servers to help improve our products and services. Read our privacy statement to learn more about it. For the specific data points being collected, see Usage data.

Manually configuring usage data collection

You can manually change your preference about usage data collection by running crc config set consent-telemetry <yes/no> before the next crc start.

Documentation

Getting CRC

CRC binaries with an embedded OpenShift disk image can be downloaded from this page.

Using CRC

The documentation for CRC is currently hosted by GitHub Pages.

See the Getting Started Guide.

Developing CRC

Developers who want to work on CRC should visit the Developing CRC document.

Community

Contributions, questions, and comments are all welcomed and encouraged!

You can reach the community by:

If you want to contribute, make sure to follow the contribution guidelines when you open issues or submit pull requests.

Extension points exported contracts — how you extend this code

RawStorage (Interface)
RawStorage stores any key-value pair without validation [5 implementers]
pkg/crc/config/types.go
CommandRunner (Interface)
(no doc) [6 implementers]
pkg/os/exec.go
Collector (Interface)
(no doc) [7 implementers]
test/extended/util/collect.go
HostsFileEditor (Interface)
(no doc) [3 implementers]
cmd/crc/cmd/daemon.go
API (Interface)
(no doc) [1 implementers]
pkg/libmachine/libmachine.go
EventProducer (Interface)
(no doc) [14 implementers]
pkg/crc/api/events/events.go
ExitError (Interface)
ExitError is an interface that presents an API similar to os.ProcessState, which is what ExitError from os/exec is. Thi [1 …
pkg/os/execerror.go
ExitError (Interface)
ExitError is an interface that presents an API similar to os.ProcessState, which is what ExitError from os/exec is. Thi [1 …
test/extended/crc/cmd/cmd.go

Core symbols most depended-on inside this repo

Errorf
called by 475
pkg/crc/segment/segment.go
Debugf
called by 200
pkg/crc/logging/logging.go
String
called by 156
test/extended/crc/cmd/cmd.go
Close
called by 149
pkg/crc/ssh/client.go
Get
called by 145
pkg/crc/config/types.go
Error
called by 110
test/extended/crc/cmd/cmd.go
Debug
called by 89
pkg/crc/logging/logging.go
Set
called by 79
pkg/crc/config/types.go

Shape

Function 1,276
Method 544
Struct 182
Interface 25
TypeAlias 21
FuncType 11

Languages

Go100%

Modules by API surface

pkg/crc/machine/bundle/metadata.go51 symbols
test/e2e/testsuite/testsuite.go46 symbols
test/extended/crc/cmd/cmd.go39 symbols
pkg/crc/preflight/preflight_checks_linux.go39 symbols
pkg/crc/api/client/client.go33 symbols
test/extended/util/shell.go29 symbols
pkg/crc/constants/constants.go27 symbols
pkg/crc/machine/start.go25 symbols
pkg/crc/cluster/cluster.go24 symbols
test/extended/util/collect.go22 symbols
pkg/drivers/vfkit/driver_darwin.go22 symbols
pkg/crc/machine/client.go22 symbols

For agents

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

⬇ download graph artifact

Ask about this repo answers extend the page