MCPcopy
hub / github.com/lima-vm/lima

github.com/lima-vm/lima @v2.1.4 sqlite

repository ↗ · DeepWiki ↗ · release v2.1.4 ↗
2,176 symbols 6,941 edges 348 files 454 documented · 21%
README

[🌎Web site] [📖Documentation] [👤Slack (#lima)]

Shows a stylized 'Lima' text in bold, modern font

Lima: Linux Machines

Ask DeepWiki OpenSSF Best Practices OpenSSF Scorecard

Lima launches Linux virtual machines with automatic file sharing and port forwarding (similar to WSL2).

The original goal of Lima was to promote containerd including nerdctl (contaiNERD ctl) to Mac users, but Lima can be used for non-container applications as well.

Lima also supports other container engines (Docker, Podman, Kubernetes, etc.) and non-macOS hosts (Linux, NetBSD, etc.).

Getting started

Set up (Homebrew):

brew install lima
limactl start

To run Linux commands:

lima uname -a

To run containers with containerd:

lima nerdctl run --rm hello-world

To run containers with Docker:

limactl start template:docker
export DOCKER_HOST=$(limactl list docker --format 'unix://{{.Dir}}/sock/docker.sock')
docker run --rm hello-world

To run containers with Kubernetes:

limactl start template:k8s
export KUBECONFIG=$(limactl list k8s --format 'unix://{{.Dir}}/copied-from-guest/kubeconfig.yaml')
kubectl apply -f ...

See https://lima-vm.io/docs/ for the further information.

Contributing

We welcome contributions! Please see our Contributing Guide for details on:

  • Developer Certificate of Origin (DCO): All commits must be signed off with git commit -s
  • Code licensing and pull request guidelines
  • Testing requirements

Community

Adopters

Container environments: - Rancher Desktop: Kubernetes and container management to the desktop - Colima: Docker (and Kubernetes) on macOS with minimal setup - Finch: Finch is a command line client for local container development - Podman Desktop: Podman Desktop GUI has a plug-in for Lima virtual machines

GUI: - Lima xbar plugin: xbar plugin to start/stop VMs from the menu bar and see their running status. - lima-gui: Qt GUI for Lima

Communication channels

Social media accounts

Follow us for project updates, release announcements, and community news:

  • https://x.com/@TheLimaProject
  • https://mastodon.social/@TheLimaProject

Code of Conduct

Lima follows the CNCF Code of Conduct.


We are a Cloud Native Computing Foundation incubating project.

The Linux Foundation® (TLF) has registered trademarks and uses trademarks. For a list of TLF trademarks, see Trademark Usage.

Extension points exported contracts — how you extend this code

Lifecycle (Interface)
Lifecycle defines basic lifecycle operations. [6 implementers]
pkg/driver/driver.go
ImageDiskManager (Interface)
ImageDiskManager defines the common operations for disk image utilities. [3 implementers]
pkg/imgutil/manager.go
CopyTool (Interface)
CopyTool is the interface for copy tool implementations. [2 implementers]
pkg/copytool/copytool.go
Ticker (Interface)
(no doc) [3 implementers]
pkg/guestagent/ticker/ticker.go
HostAgentClient (Interface)
(no doc) [1 implementers]
pkg/hostagent/api/client/client.go
Opt (FuncType)
(no doc)
pkg/downloader/downloader.go
WriteOpt (FuncType)
(no doc)
pkg/iso9660util/iso9660util.go
Opt (FuncType)
(no doc)
pkg/executil/command.go

Core symbols most depended-on inside this repo

Of
called by 279
pkg/ptr/ptr.go
Run
called by 198
pkg/plugins/plugins.go
Close
called by 122
pkg/portfwd/forward.go
Error
called by 109
pkg/httpclientutil/httpclientutil.go
WriteFile
called by 71
pkg/mcp/toolset/filesystem.go
Name
called by 60
pkg/copytool/copytool.go
ReadFile
called by 51
pkg/mcp/toolset/filesystem.go
String
called by 47
cmd/limactl/shell.go

Shape

Function 1,154
Method 740
Struct 236
Interface 22
TypeAlias 20
FuncType 4

Languages

Go100%

Modules by API surface

pkg/driver/external/driver_grpc.pb.go111 symbols
pkg/driver/external/driver.pb.go89 symbols
pkg/guestagent/api/guestservice.pb.go65 symbols
pkg/driver/qemu/qemu_driver.go40 symbols
pkg/limatype/lima_yaml.go38 symbols
pkg/hostagent/hostagent.go37 symbols
pkg/guestagent/api/guestservice_grpc.pb.go36 symbols
pkg/registry/registry_test.go32 symbols
pkg/driver/vz/vz_driver_darwin.go32 symbols
pkg/driver/qemu/qemu.go32 symbols
pkg/driver/driver.go32 symbols
pkg/downloader/downloader.go32 symbols

Dependencies from manifests, versioned

4d63.com/gocheckcompilerdirectivesv1.3.0 · 1×
4d63.com/gochecknoglobalsv0.2.2 · 1×
al.essio.dev/pkg/shellescapev1.6.0 · 1×
charm.land/lipgloss/v2v2.0.3 · 1×
codeberg.org/chavacava/garifv0.2.0 · 1×
codeberg.org/polyfloyd/go-errorlintv1.9.0 · 1×
dev.gaijin.team/go/exhaustruct/v4v4.0.0 · 1×
dev.gaijin.team/go/golibv0.6.0 · 1×
github.com/4meepo/tagalignv1.4.3 · 1×
github.com/Abirdcfly/dupwordv0.1.7 · 1×
github.com/AdminBenni/iota-mixingv1.0.0 · 1×
github.com/AlecAivazis/survey/v2v2.3.7 · 1×

For agents

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

⬇ download graph artifact