Skip to content
Back to skills

Colima

ASecurity

Use when Docker commands fail with "Cannot connect to Docker daemon", when starting/stopping container environments, or when managing multiple Docker contexts on macOS - provides Colima lifecycle management, profile handling, SSH commands, and troubleshooting

  • 10 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 9, 2026
toolsbashdockerkubernetesgitapidocumentation

Works with

  • terminal
  • api

Security analysis

A100/100

Pro scans all 12 files and shows the line behind each finding

Scanned February 12, 2026

npx -y skills add technicalpickles/pickled-claude-plugins --skill colima --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Colima?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Colima
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/technicalpickles-colima/badge)](https://www.skillsdirectory.com/skills/technicalpickles-colima)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: colima
description: Use when Docker commands fail with "Cannot connect to Docker daemon", when starting/stopping container environments, or when managing multiple Docker contexts on macOS - provides Colima lifecycle management, profile handling, SSH commands, and troubleshooting
---

# Colima

## Overview

Colima provides container runtimes (Docker, Containerd) on macOS with minimal setup. It runs a Linux VM and exposes Docker via contexts.

**Use this skill when:**
- Docker commands fail ("Cannot connect to Docker daemon")
- Starting/stopping container runtime on macOS
- Managing multiple Docker profiles/contexts
- Troubleshooting container environment issues
- Need SSH agent forwarding for Docker builds

**Not for:** Docker Compose, Kubernetes clusters, or Linux environments.

## Quick Reference

| Operation | Command |
|-----------|---------|
| Start | `colima start` or `colima start <profile>` |
| Start with SSH agent | `colima start <profile> -s` |
| Stop | `colima stop` or `colima stop --force` |
| Status | `colima status -p <profile>` |
| List profiles | `colima list` |
| SSH into VM | `colima ssh` or `colima ssh -- <cmd>` |
| SSH with chained commands | `colima ssh -- bash -c "cmd1 && cmd2"` |
| Get socket path | `colima status -p <profile> --json \| jq -r .docker_socket` |

## Docker Context Basics

Colima creates Docker contexts per profile:
- Profile `default` → context `colima`
- Profile `work` → context `colima-work`

```bash
# Switch context (global - affects all terminals)
docker context use colima-work

# Override per-session
export DOCKER_CONTEXT=colima-work

# Override per-command
docker --context colima-work ps
```

For details, see `references/docker-contexts.md`.

## Common Issues

**Docker daemon not connecting?**
1. `colima status` - is it running?
2. `docker context list` - right context selected?
3. See `references/troubleshooting.md` for more

**Need more VM resources?**
```bash
colima stop && colima start --cpu 4 --memory 8
```

**"Broken" status after restart?**
```bash
colima stop --force && colima start
```

## References

- `references/ssh-commands.md` - SSH command syntax, chaining, escaping
- `references/docker-contexts.md` - Context switching, DOCKER_HOST, socket paths
- `references/profile-management.md` - Creating, configuring, deleting profiles
- `references/troubleshooting.md` - Common issues and solutions
- `references/common-options.md` - Flags, VM types, resource configuration

## Upstream Documentation

Local copies of official Colima docs (from [github.com/abiosoft/colima](https://github.com/abiosoft/colima)):

- `references/colima-upstream/README.md` - Official README with features and usage
- `references/colima-upstream/FAQ.md` - Official FAQ and troubleshooting
- `references/colima-upstream/INSTALL.md` - Installation options

Files in this skill

  • README.md1.9 KB
  • SKILL.md2.8 KB
  • docs/finding-test-sessions.md2.5 KB
  • docs/test-cases.md2.3 KB
  • references/colima-upstream/FAQ.md15.3 KB
  • references/colima-upstream/INSTALL.md973 B
  • references/colima-upstream/README.md5.9 KB
  • references/common-options.md1.9 KB
  • references/docker-contexts.md1.8 KB
  • references/profile-management.md1.8 KB
  • references/ssh-commands.md1.9 KB
  • references/troubleshooting.md2.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.