Logo vun IcontainU

IcontainU

Communautéit
jeffqiu1989

A native SwiftUI macOS GUI for Apple's container — smart container creation, one-click Compose, and a built-in MCP server.

Editeurjeffqiu1989
RepositoryIcontainU
SproochSwift
Forks
5
Stären
83
Disponibel Tools
0
Transporttypstreamable-http
Kategorien
LizenzApache-2.0
Linken
  • Tools mat KI-Workflows verbannen

    IcontainU stellt MCP-Funktioune bereit, déi vu kompatibele KI-Clienten a KI-Agente kënne benotzt ginn.

  • 0 disponibel Tools

    Kuckt Iech déi opruffbar Aktiounen hei drënner un, mat Nimm a Beschreiwungen, wa se vum Server geliwwert ginn.

  • Konfiguratioun fir ze kopéieren

    Benotzt d'Installatiounsbeispiller, fir dëse Server an Ärem bevorzugte MCP-Client ze konfiguréieren.

  • Indicateure fir Open Source

    83 Stären an 5 Forks aus dem verlinkte Repository.

IcontainU

A native macOS GUI for Apple's container.

I — Apple's lowercase‑i lineage (iOS, iPhone) · contain — container · U — UI

Built with SwiftUI. No Electron, no daemon of its own — it just drives the container you already have.

English | 中文


Highlights

Two things make IcontainU worth your dock:

⚡ Smart Create🧩 One‑click Compose
Drop in an image, the form fills itself. Ports, mounts, and the env vars the entrypoint actually needs (like MYSQL_ROOT_PASSWORD) are read from the image and pre‑filled. No more copying docker run snippets.Bring a whole stack up in one click. Import a compose.yaml and Up the project in dependency order, with healthcheck gating. Projects persist across down and restarts — and it works around Apple container's broken container‑to‑container DNS so service names just resolve.

More features

  • ⚓ Local Kubernetes — a sidebar section spins up a single-node Kubernetes cluster in-process; kubectl works out of the box (kubeconfig merged into ~/.kube/config and set as the current context), and it needs no proxy — the KIND node ships with every image kubeadm needs, so bootstrap pulls nothing. See Local Kubernetes.
  • 🐧 Machines that just work — presets pointing at official init‑ready images (Alpine, Rocky UBI‑init), so machines actually boot. CPU, memory, and home‑mount are all settable.
  • 📦 Smart image pull — pulls only your host architecture, and is registry‑mirror aware with a one‑click DaoCloud preset (9 registries, individually toggleable) that leaves no trace on local images.
  • 🔨 Image building - build container images from a Dockerfile via the shared BuildKit builder, with no-cache toggle, live build log, and per-config build history.
  • 🃏 Everything on a card — Start / Stop / Shell / Logs / Delete per container, plus a live stats tab and streaming logs.
  • ✨ Friction removers — tap to copy an IP or ip:port, tap a mount to open it in Finder, local‑image autocomplete, and Docker‑style auto‑naming.
  • 🚀 Frictionless setup — first launch auto‑installs the kernel and monitors container health for you.
  • 🤖 MCP server - a built-in Model Context Protocol server exposes every container, image, machine, volume, network, and Compose operation as a tool, so Claude Code, OpenCode, or any MCP client can drive IcontainU remotely over HTTP with a Bearer API key. See docs/mcp_server.md for the full 25-tool API.

Screenshots

ContainersCreate a container
ContainersCreate a container
Create a machineImages
Create a machineImages
Registry mirrorsBuilt-in MCP server
Registry mirrorsBuilt-in MCP server

Requirements

  • Apple silicon Mac (M‑series), macOS 26 or newer
  • Apple container ≥ 1.0.0 installed

Start the system once from the CLI so it installs the kernels (faster than the in‑app download):

bash
container system start
container system status   # should report: running

Without a running container system the app still opens, but the sidebar stays empty.

Download & install

Download IcontainU-v0.6.0.zip from Releases, unzip, and move IcontainU.app to Applications.

Not notarized — on first launch, right‑click → Open, or run:

bash
xattr -d com.apple.quarantine /Applications/IcontainU.app

Build from source

Requires the Swift 6.2 toolchain (Xcode 26).

bash
swift build && swift run IcontainU
# package a signed .app:
./scripts/package-app.sh

Status & known limitations

0.6.0 — early, but useful day to day.

  • Shell opens an external terminal (Terminal.app, Warp, Ghostty, or iTerm2 — see Terminal) — no embedded terminal yet.
  • System configuration is view‑only in the app; edit it via the CLI.
  • Menu bar support is under development.
  • Compose does not support build: - use the standalone Build feature to build images, then reference them by tag in image:.

Terminal

Shell (on a container) and the machine Run button open an external terminal and drop you into container exec / container machine run. Pick which terminal under System → Shell terminal:

  • Terminal.app (default)
  • Warp — needs a one-time setup for full features; see below
  • Ghostty
  • iTerm2

Terminals that aren't installed are shown as (not installed) and can't be selected; the app falls back to Terminal.app if a previously chosen terminal is removed.

Configuring Warp

Warp gives its container shells the full Warp experience (blocks, completions, the input editor) only when it "Warpifies" the subshell. Two one-time steps:

  1. Tell Warp to recognize container exec. In Warp, go to Settings → Warpify → Subshells and add these to the Added commands list:
    • container exec — for container shells
    • container machine run — for machine shells (optional)
  2. Make sure the container has bash. Warpify needs bash, zsh, or fish — plain sh won't work. IcontainU execs bash when the container has it and falls back to sh otherwise (so Alpine and other sh‑only images still open, just without Warpify).

The first time you open a container shell in Warp, IcontainU shows a one‑time reminder of step 1.

Local Kubernetes

A dedicated Kubernetes sidebar section spins up a local, single-node Kubernetes cluster — no container k8s plugin or external CLI required; IcontainU drives the cluster in-process over the same container XPC the rest of the app uses.

  • Create / list / delete / export kubeconfig from the UI, with a real progress bar for the ~1 GB node-image pull.
  • kubectl works out of the box — the cluster's kubeconfig is merged into ~/.kube/config and set as the current context, targeting 127.0.0.1:<host-port>.

Compose reference

IcontainU supports a practical subset of the Compose spec. Anything unsupported is surfaced as a warning banner at import — never silently dropped.

Supported fields & what's not

FieldNotes
image—
commandstring or array form
portsnumeric and host:container/proto
environmentlist ["K=V"] and map {K: V}
volumesnamed (vol:/data) and bind (/host:/data[:ro], incl. relative ./)
networksper‑service and top‑level
depends_onstart order and condition: service_healthy
healthchecktest, interval, timeout, retries, start_period
container_name, user—
top‑level networks: / volumes:—

Plus ${VAR} / .env interpolation at parse time.

Not supported:

FieldNotes
build:—
restart:—
deploy.replicas / scale—
env_file—
profiles—
secrets—
configs—
extends—
YAML anchors—
advanced driver_opts—

Project isolation & multi‑network

  • Every project is namespaced. Containers, volumes and networks are prefixed with the project name, so two projects that each declare a db service run side by side. Pinning the same container_name: in two projects fails loudly instead of hijacking.
  • Multi‑network is fully supported. A service on several networks resolves each peer on a network the two containers actually share.

Healthcheck gating — how service_healthy is honored

Apple container 1.0.0 has no native healthcheck, so IcontainU runs the probe via container exec during Up to gate depends_on: { condition: service_healthy }. There is no always‑on healthy/unhealthy badge.

  • If a gated dependency never becomes healthy, Up fails but the dependency is left running so its logs explain why — fix the compose file and re‑Up.
  • A service_healthy dependency with no healthcheck warns and is treated as start‑order only.

Runtime constraints — Apple container on macOS 26 (not IcontainU bugs)

  • Container‑to‑container DNS is broken on macOS 26 — IcontainU works around it by injecting <service> → real IP into each container's /etc/hosts after Up.

  • Database data dirs on bind mounts — the chown problem and how to fix it.

    On macOS, the bind-mount root is owned by the host user and refuses chown. Images that chown their data directory at startup fail with "Operation not permitted" when the data directory is the mount-point root:

    # MySQL / MariaDB
    chown: changing ownership of '/var/lib/mysql/': Operation not permitted
    
    # PostgreSQL ≤17
    chmod: changing permissions of '/var/lib/postgresql/data': Operation not permitted
    chown: changing ownership of '/var/lib/postgresql/data': Operation not permitted

    Affected versions:

    • PostgreSQL 17 and below — PGDATA defaults to /var/lib/postgresql/data, which is the mount-point root → fails.
    • PostgreSQL 18+ — PGDATA defaults to a subdirectory (/var/lib/postgresql/18/docker) → no issue, works out of the box.
    • MySQL / MariaDB — all versions are affected.

    Fix: point the data directory at a subdirectory of the mount instead. The image-specific setting that controls this differs per image:

    ImageFixExample compose snippet
    PostgreSQL ≤17Set PGDATA to a subdirectoryenvironment: PGDATA: /var/lib/postgresql/data/pgdata
    MySQL / MariaDBPass --datadir pointing to a subdirectorycommand: ["--datadir", "/var/lib/mysql/data"]

    Ready-to-use templates with the fix pre-applied are in samples/:

    Import via Compose → New Project, edit the password and host path, then Up.

  • Non‑root images need user: "0" on a named volume, otherwise they can't write their data dir.

Samples

The samples/ directory ships Compose templates you can import via Compose → New Project and Up directly. Each one is verified to run on IcontainU.

StackServicesNotes
postgresql-pgadminPostgreSQL + pgAdmin${VAR} placeholder template — edit passwords before import
gitea-postgresGitea + PostgreSQLNamed volumes, restart: always
nextcloud-postgresNextcloud + PostgreSQL
nextcloud-redis-mariadbNextcloud + Redis + MariaDBMulti-network demo (separate dbnet / redisnet)
wordpress-mysqlWordPress + MariaDB
elasticsearch-logstash-kibanaELK stack (ES 8 + Logstash + Kibana)Full healthcheck + depends_on: condition: service_healthy
prometheus-grafanaPrometheus + Grafanauser: "0" for named-volume write; bind mounts for config
postgres-healthcheckPostgreSQL + AlpineMinimal healthcheck / service_healthy demo
kafka-cluster-kraftKafka 4.3.1 KRaft (3 controllers + 3 brokers)Advertised listeners on hostnames; depends_on startup
redis-clusterRedis 7 cluster3-master / 3-replica with auto-failover; cluster-announce-hostname + /etc/hosts DNS workaround
redis-cluster-envoy-proxyRedis cluster + Envoy proxySlot-aware Envoy proxy at host:6379 — plain redis-cli, no -c flag needed
template-mysql.yamlMySQL 8 (single)Standalone template; bind-mount data dir with --datadir subdirectory (macOS chown fix)
template-postgres-17.yamlPostgreSQL 17 (single)Standalone template; PGDATA subdirectory bind-mount (macOS chown fix)

macOS bind-mount note: some samples use bind-mounted data directories. On macOS the mount root is owned by the host user and can't be chown'd. Images that need chown on their data dir (MySQL, PostgreSQL ≤ 17) are pointed at a subdirectory via --datadir / PGDATA — the templates already handle this. See the Compose reference for details.

MCP server

IcontainU ships an embedded Model Context Protocol server, so an AI client can operate containers, images, machines, volumes, networks, and Compose projects on your behalf - useful for "bring this stack up and verify it's healthy" workflows driven from Claude Code, OpenCode, or any MCP-compatible client.

  • Transport: MCP over Streamable HTTP at /mcp (swift-nio server, default port 3000).
  • Auth: Bearer API key, generated and managed in the in-app MCP panel. Constant-time comparison; no key, no access.
  • Bind: 127.0.0.1 (localhost only) by default; switch to 0.0.0.0 in the panel to reach it from the LAN.

25 tools across 6 resource groups:

ResourceTools
Containerlist, create, start, stop, delete, exec, logs, inspect
Imagelist, pull, delete
Machinelist, boot, stop, delete
Volumelist, create, delete
Networklist, create, delete
Composelist, up, down, status

Full tool schemas, parameters, and examples: docs/mcp_server.md.

Quick start from a client config (.mcp.json):

json
{
  "mcpServers": {
    "containers": {
      "url": "http://127.0.0.1:3000/mcp",
      "headers": { "Authorization": "Bearer <your-api-key>" }
    }
  }
}

License & acknowledgements

Licensed under the Apache License 2.0 — see LICENSE. Built on Apple's container and containerization; see NOTICE for attribution.

Developed with the assistance of vibe coding (AI-assisted development).

Thanks to the LINUX DO community for providing a platform for communication and learning.

IcontainU MCP mat verschiddene KI-Modeller benotzen

TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Soubal IcontainU verbonnen ass, kënnt Dir et mat verschiddene KI-Modeller an TypingMind benotzen, amplaz et fir all Modell separat anzeriichten. Dës MCP-Integratioun verbënnt sech an TypingMind iwwer d'URL vun engem gehoste MCP-Server.

Eng MCP-Server-URL derbäisetzen

Benotzt dës Optioun, wann IcontainU scho remote gehost gëtt oder Är Ekipp ee gemeinsame Connector wëllt, op dee méi Benotzer kënnen zougräifen.

1

MCP-Connectoren opmaachen

Gitt an TypingMind op „Plugins“, maacht „MCP-Connectoren“ op a wielt dann „URL derbäisetzen“.

  1. Maacht TypingMind an Ärem Browser op.
  2. Gitt op „Plugins“.
  3. Maacht „MCP-Connectoren“ op.
  4. Klickt op „URL derbäisetzen“.
TypingMind-Formulaire fir eng benotzerdefinéiert MCP-Server-URL derbäizesetzen
2

D'Server-URL apeschen

Gitt d'MCP-Server-URL vum Ubidder am Feld „Server-URL“ an. Setzt e Verbindungsnumm, eng Beschreiwung, e Symbol, benotzerdefinéiert HTTP-Headeren oder OAuth-Clientastellungen derbäi, wann de Server se erfuerdert.

  1. Pescht d'MCP-Server-URL vum Ubidder an d'Feld „Server-URL“.
  2. Gitt en Numm fir d'Verbindung mat IcontainU an.
  3. Setzt eng Beschreiwung an e Symbol derbäi, fir d'Verbindung méi einfach erëmzeerkennen.
  4. Setzt benotzerdefinéiert HTTP-Headeren oder OAuth-Clientdetailer derbäi, wann de Server eng Authentifizéierung erfuerdert.
3

D'Verbindung erstellen

Klickt op „Verbindung erstellen“, gitt dann zeréck op d'Plugin-Lëscht a kontrolléiert, ob déi nei MCP-Verbindung aktiv ass.

  1. Klickt op „Verbindung erstellen“.
  2. Gitt zeréck op d'Lëscht vun de MCP-Connectoren.
  3. Kontrolléiert, ob d'Verbindung mat IcontainU als aktiv ugewise gëtt.
  4. Aktualiséiert d'Plugin-Lëscht, wann d'Verbindung net direkt ugewise gëtt.
4

Modeller wiesselen ouni nei ze verbannen

Start e Chat mat Ärem bevorzugte Modell, aktivéiert d'Tools vu IcontainU ënner „Plugins“ a wiesselt bei Bedarf op en anere Modell. D'MCP-Verbindung bleift am TypingMind-Aarbechtsberäich disponibel.

  1. Start en neie Chat an TypingMind.
  2. Wielt de KI-Modell, deen Dir benotze wëllt.
  3. Aktivéiert d'Tools vu IcontainU ënner „Plugins“.
  4. Biet de Modell, den Tool ze benotzen, wann néideg.
  5. Wiesselt op en anere KI-Modell a benotzt déiselwecht MCP-Verbindung weider.
TypingMind-Chat mat aktivéierte MCP-Tools an engem ausgewielte KI-Modell
Hëlleft Dir mir bei dëser Aufgab mat IcontainU?
IcontainU
Jo. Ech hunn et gelies.
Dat hunn ech mat IcontainU fonnt.

Heefeg gestallte Froen

Fir wat gëtt de MCP-Server IcontainU benotzt?

IcontainU ass e MCP-Server, deen et kompatibele KI-Clienten erlaabt, sech mat externen Tools a Kontext ze verbannen. An TypingMind kënnt Dir dëse MCP-Server eemol derbäisetzen a seng Tools an Ärem KI-Aarbechtsberäich zur Verfügung stellen.

Kann ech IcontainU MCP mat méi KI-Modeller an TypingMind benotzen?

Jo. TypingMind verbënnt MCP-Tools um Niveau vum Aarbechtsberäich. Sou kënnt Dir IcontainU mat verschiddene KI-Modeller wéi Claude, ChatGPT, Gemini oder anere Modeller benotzen, déi Dir an TypingMind konfiguréiert hutt, ouni de MCP-Server fir all Modell separat anzeriichten.

Firwat IcontainU MCP mat TypingMind benotzen?

TypingMind ass eng vun de beschte Benotzeruewerfläche fir LLM-Chat, well et méi KI-Modeller, Prompts, Plugins, KI-Agenten, API-Schlësselen a MCP-Tools an engem Aarbechtsberäich zesummebréngt. Wann IcontainU verbonnen ass, kënnt Dir seng MCP-Tools mat Äre bevorzugte Modeller benotzen a gläichzäiteg Är Chataarbecht an TypingMind organiséieren.

Wéi verbannen ech IcontainU MCP mat TypingMind?

Dir kënnt IcontainU mat TypingMind verbannen, andeems Dir d'URL vu sengem gehoste MCP-Server derbäisetzt. Dat ass nëtzlech, wann Dir eng Remote-MCP-Verbindung wëllt, déi aus Ärem TypingMind-Aarbechtsberäich disponibel ass.

Wéi eng Tools stellt IcontainU MCP an TypingMind zur Verfügung?

IcontainU stellt MCP-Funktiounen zur Verfügung, déi Dir op der Plugins-Säit vun TypingMind aktivéiere kënnt, fir se am Chat ze benotzen oder KI-Agenten zouzeweisen.

Muss ech meng API-Schlëssele mat TypingMind deelen, fir IcontainU MCP ze benotzen?

Nee. TypingMind setzt op lokal Veraarbechtung a léisst Iech d'Kontroll iwwer Är Modellubidder, API-Schlësselen, Prompts a MCP-Konfiguratioun. Wann IcontainU eng Authentifizéierung verlaangt, setzt déi néideg Headeren, OAuth-Astellungen oder lokal Konfiguratioun fir dee MCP-Server derbäi, wann Dir d'Verbindung erstallt.

Änlech MCP-Serveren

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇