{"id":51181060,"url":"https://github.com/tdeverx/contained-app","last_synced_at":"2026-06-27T07:00:39.667Z","repository":{"id":367418192,"uuid":"1280725695","full_name":"tdeverx/contained-app","owner":"tdeverx","description":"A native macOS app for Apple's Container CLI","archived":false,"fork":false,"pushed_at":"2026-06-26T00:08:35.000Z","size":4182,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"nightly","last_synced_at":"2026-06-26T00:10:46.140Z","etag":null,"topics":["apple-container","apple-silicon","containers","devtools","docker-alternative","liquid-glass","macos","sparkle","swift","swiftpm","swiftui"],"latest_commit_sha":null,"homepage":"https://github.com/tdeverx/contained-app/wiki","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tdeverx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":"NOTICE","maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-25T22:02:07.000Z","updated_at":"2026-06-26T00:08:39.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/tdeverx/contained-app","commit_stats":null,"previous_names":["tdeverx/contained-app"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tdeverx/contained-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdeverx%2Fcontained-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdeverx%2Fcontained-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdeverx%2Fcontained-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdeverx%2Fcontained-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tdeverx","download_url":"https://codeload.github.com/tdeverx/contained-app/tar.gz/refs/heads/nightly","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdeverx%2Fcontained-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34844346,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-27T02:00:06.362Z","response_time":126,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apple-container","apple-silicon","containers","devtools","docker-alternative","liquid-glass","macos","sparkle","swift","swiftpm","swiftui"],"created_at":"2026-06-27T07:00:29.563Z","updated_at":"2026-06-27T07:00:39.651Z","avatar_url":"https://github.com/tdeverx.png","language":"Swift","funding_links":[],"categories":["Virtual Machines"],"sub_categories":["Text"],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\".github/assets/icon.png\" width=\"128\" alt=\"Contained icon\"\u003e\n\u003c/p\u003e\n\n\u003ch1 align=\"center\"\u003eContained\u003c/h1\u003e\n\nA native, SwiftUI-first macOS app for Apple's [`container`](https://github.com/apple/container) CLI — a Liquid Glass control surface for running, customizing, and inspecting Linux containers on Apple silicon. It covers the everyday Docker-Desktop workflow plus the broader `container` command surface, without leaving the Mac-native look and feel.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\".github/assets/screenshot.png\" width=\"900\" alt=\"Contained — running containers and the Run a Container sheet\"\u003e\n  \u003cbr\u003e\u003csub\u003e\u003ci\u003eWork in progress — the UI and features are still evolving.\u003c/i\u003e\u003c/sub\u003e\n\u003c/p\u003e\n\n\u003e **Status:** feature-complete, polishing toward 1.0. Every section below is implemented; see the [1.0 Polish Checklist](#10-polish-checklist) for the per-screen pass that remains before tagging a stable release.\n\n## Highlights\n\n- **Grid of glass cards** — each container is a clear Liquid Glass card with a customizable tint, gradient, icon, nickname, an app-managed health badge, and a selectable live sparkline (CPU / memory / network / disk).\n- **Full lifecycle + 7 detail tabs** — start/stop/restart, plus Overview, Logs, Terminal (SwiftTerm), Stats, History, Files, and Inspect for each container.\n- **Images, Build, Volumes, Networks, Registries, System** — pull (with Docker Hub search), build (streamed BuildKit log), tag/push/save/load, filesystem export, volume/network CRUD, registry login, service control, `df`, a Prune Center, and guarded kernel/DNS management.\n- **Templates \u0026 Stacks** — a library of saved run recipes plus built-in starters, and `compose.yaml` import with app-managed start-order and health-gated launch.\n- **One Edit form** — progressive-disclosure mapping of the `container run` flags with host-bounded CPU/RAM controls and a live \"reveal the CLI\" preview.\n- **Persistent history** — SwiftData-backed events and metrics power a per-container History tab and a system-wide Activity view (Swift Charts), with configurable retention.\n- **App-managed restart \u0026 healthchecks** — `container` has no native `--restart` or healthcheck, so Contained runs both itself.\n- **Mac-native throughout** — `NavigationSplitView`, the system search field, a section-aware Liquid Glass toolbar, a command palette (⌘K), a menu-bar extra, full keyboard shortcuts, and accessibility (Reduce Transparency / Reduce Motion / VoiceOver). AppKit bridges are used only where SwiftUI has no equivalent, and are flagged in the source.\n\n## Install \u0026 updates\n\nDownload the latest `.dmg` from [Releases](https://github.com/tdeverx/contained-app/releases). Updates are delivered in-app via [Sparkle](https://sparkle-project.org) across three channels, selectable in Settings → Updates:\n\n- **Stable** — finished releases.\n- **Beta** — pre-release builds, ahead of stable.\n- **Nightly** — the latest build from every commit (CI), bleeding edge.\n\nChannels are cumulative (Nightly still receives Beta and Stable). See the [Release runbook](https://github.com/tdeverx/contained-app/wiki/Release) for the maintainer signing/notarization flow.\n\n## Documentation\n\nFull docs live in the **[wiki](https://github.com/tdeverx/contained-app/wiki)** — [Features](https://github.com/tdeverx/contained-app/wiki/Features) · [Keyboard Shortcuts](https://github.com/tdeverx/contained-app/wiki/Keyboard-Shortcuts) · [Installation](https://github.com/tdeverx/contained-app/wiki/Installation) · [Troubleshooting](https://github.com/tdeverx/contained-app/wiki/Troubleshooting) · [Architecture](https://github.com/tdeverx/contained-app/wiki/Architecture) · [Contributing](https://github.com/tdeverx/contained-app/wiki/Contributing).\n\n## Requirements\n\n- macOS 26 or later (Apple silicon)\n- Xcode 26 / Swift 6.2+\n- Apple's `container` CLI **1.0.0** installed and on `PATH` ([install](https://github.com/apple/container))\n\n## Build \u0026 run\n\nThis is a Swift Package — open it directly in Xcode (there is no `.xcodeproj`):\n\n```sh\nopen Package.swift        # opens the package as a project in Xcode\n```\n\nOr from the command line:\n\n```sh\nswift build               # compile\nswift test                # run the unit tests\n./scripts/bundle.sh       # assemble a runnable Contained.app\nopen Contained.app        # launch it\n```\n\n## Architecture\n\nThe package splits into two targets so all logic is testable without a UI:\n\n- **`ContainedCore`** (library) — models, the `container` CLI wrapper (`--format json`), lenient decoders grounded against captured real CLI output, and command builders. No UI.\n- **`Contained`** (executable) — the SwiftUI app: design system, stores (`@Observable` + `@MainActor`), feature views, and the SwiftData history store.\n\nIntegration is by **shelling out** to the `container` CLI and decoding its JSON, rather than linking a private framework — robust across CLI updates and easy to verify. Personalization (tint, icon, nickname, background) is stored **locally** (image-keyed defaults + per-container overrides) and never written back as container labels, keeping the CLI clean. Full design notes in the [Architecture](https://github.com/tdeverx/contained-app/wiki/Architecture) wiki page.\n\n```\nSources/\n  ContainedCore/   Models, Services (CLI wrapper), decoding\n  Contained/       App, DesignSystem, Features, Navigation, Stores, History, Support\nTests/\n  ContainedCoreTests/   Decoding + command-builder tests against real CLI fixtures\n  ContainedAppTests/    RunSpec argv + compose-mapping golden tests\nscripts/\n  bundle.sh        Build + assemble Contained.app\n  release.sh       Sign + notarize + DMG (maintainers)\n  appcast.sh       Generate this branch's Sparkle appcast\nappcast.xml        Per-branch Sparkle feed (nightly/beta/main each own one; human docs live in the wiki)\n```\n\n## 1.0 Polish Checklist\n\nEvery screen gets the same pass before tagging 1.0. Criteria per page: **G** Liquid Glass consistency · **S** empty / loading / error states · **A** keyboard + VoiceOver accessibility · **C** Reveal-CLI on privileged actions · **L** copy / labels / info-popovers · **R** responsive layout.\n\n| Screen | G | S | A | C | L | R |\n|---|---|---|---|---|---|---|\n| Containers (grid) | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Container Detail · Overview | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Container Detail · Logs | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Container Detail · Terminal | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Container Detail · Stats | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Container Detail · History | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Container Detail · Files | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Container Detail · Inspect | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Images | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Build | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Volumes | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Networks | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Registries | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| System | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| System · Activity | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Templates | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Stacks | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Edit / Run form | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Customize sheet | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Settings | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Onboarding / Bootstrap | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Command Palette | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n| Menu-bar extra | ☐ | ☐ | ☐ | ☐ | ☐ | ☐ |\n\n## Contributing\n\nForks, issues, and pull requests are welcome — see [Contributing](https://github.com/tdeverx/contained-app/wiki/Contributing). The project is built for collaboration; the only thing off the table is commercial use (see License).\n\n## License\n\n**Source-available, free for non-commercial use.** Contained is licensed under the [PolyForm Noncommercial License 1.0.0](LICENSE) — use, modify, fork, and share it freely for any noncommercial purpose; commercial use of any kind is not permitted. This is intentionally *not* the OSI \"Open Source\" label (that definition forbids restricting commercial use), but in plain terms the code is open, free, and collaborative. The \"Contained\" name and branding are reserved — see [NOTICE](NOTICE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdeverx%2Fcontained-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftdeverx%2Fcontained-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdeverx%2Fcontained-app/lists"}