Show HN: Davit, a Apple Containers UI

20 hours ago (davit.app)

Mostly vibe-coded Apple Containers front-end that I'd like to use myself. But if others want to use it, here's the source code.

My current power move in the age of AI: do nothing.

I had an idea like this and thought I could vibe code it, but then I figured someone else would care more and do it first. I was right!

This looks like a great app and I'm excited to try it out.

Free idea: I would like to be able to "jail" an agent inside a VM and send instructions to the harness from outside the VM to agent(s) installed inside. Ideally there is no Codex/Claude/etc. installed on the host.

More awesome: let me provision multiple user accounts inside the VM and restrict filesystem / network policy by user. Then I can have a dev agent, QA agent, etc. each with its own view of the work. That would be a powerful base layer for further automation.

Of course I should be able to provision various resources "attached" to the VM that agents can use on a permissioned basis; e.g., DB, queue, external volume, and so forth.

  • I threw something like this together w a simple browser front end, mostly because I like running mid to large open models but can’t trust them to not go insane. Will share at some point soon

  • > Free idea: ...

    I have been thinking about this too. Is it not as simple as installing Claude in the VM and connecting via an SSH terminal, or if you want a GUI use VSCode with the Remote SSH extension, which will give you the file browser UI etc. Presumably you can extensions in the VSCode Claude/whatever chat extensions in the VM too.

    • > as simple as installing Claude in the VM and connecting via an SSH terminal

      I've done exactly this, and it works pretty well!

      1. I setup a VM in UTM (but this could be any kind of containerization thing). I don't even bother with a non-root account in there (the agent has free rein to install packages, write files, etc). 2. I SSH into the container. 3. I install Claude or whatever there. 4. I setup git things in a way where I can push/pull to move code between the container and my host machine.

      Upsides: the agent is isolated from the rest of my host system, only being able to read/write what I've explicitly handed to it. Downsides: the agent is isolated from the rest of my host system, so it's more limited in capability.

      1 reply →

What stood out to me more than this particular project is the visible acceleration of a phenomenon many of us could foresee, especially over the last year or so: people can build a version of the same idea faster than ever.

After like 10 minutes of searching I found multiple similar swift projects (most of them are just a couple of weeks or months old):

https://github.com/tdeverx/contained-app https://github.com/nico81/iContainer https://github.com/wouterdebie/davit https://github.com/Augani/dory https://github.com/tofa84/berth https://github.com/erdaltoprak/ContainerUtility https://github.com/andrew-waters/orchard

There were more if you include ones with fewer GitHub stars, CLI-only, non-Swift etc. but you get the idea.

People will increasingly be able to build their own version of the software they want. As that happens the value of someone else's decreases. The era of hyper-personal software is coming.

  • Not on iOS unless you also pay annual membership to put it on the AppStore OR rebuild & reinstall the personal-account build every 30 or so days.

This looks like a really solid app. I like that it's 17 MB and uses the ContainerAPIClient library directly.

28 commits in 3 days, 5,015 lines of Swift, every commit "Co-Authored-By: Claude Fable 5".

Also neat that it's signed/notarized. I installed it and it downloaded the necessary container platform stuff on first launch.

Suggestion: add a getting started tutorial to the site which suggests an image to try out and has screenshots (or a silent video) showing you how to get that image up and running and what you can do with it.

The create image dialog suggests "nginx:latest" but that's not a great starting demo.

I've been a fan of Orbstack for make 2 years or so. Worth the cost for me because it's so well integrated and fast and docker command compatible.

I'll give this a try though.

  • I’m guessing the OrbStack team will probably support MacOS native containers soon enough, with all their management goodness on top.

How does this compare to OrbStack? Do Apple Containers offer anything in the dev experience that I would notice? OrbStack’s implementation already feels lightning fast for my usage.

Really nice. Worked perfectly downloading the runtime and running nginx:latest.

It's getting to the point that scrolling down on Github and seeing Claude as a contributor is a signal the app will be good (Native feeling, no Electron, etc)

Man I wish Apple would add docker api compatibility to Apple containers

  • Yeah. I don't quite understand this. Can I use this instead of docker desktop, to run docker containers on my mac 'natively' ? Or this is completely separate from docker ?

  • This is focused on builds, so running either buildkitd or dockerd in an Apple containerization container. No port forwarding or host volume stuff (really its focused on running buildkit on mac) BUT complete integration with docker CLI and buildx.

    https://github.com/cpuguy83/crucible

> No Electron, no web views, no background agents of its own.

Sweet, regardless of the AI help.

If anything even more so, no excuses for lazy Electron, with AI helping hand.

Kudos.

Looks good, Apple Containers is neat except it is just another set of commands we gotta memorize.

I like it! I would like it even more if we could choose which terminal app the containers open in. Is that doable?

Looks nice. Great work. FYI, the gist link 404s under “Can I reach a container by name from my Mac?”.

Other recent vibe-coded projects providing similar interfaces:

- https://github.com/tdeverx/contained-app

- https://github.com/tofa84/berth

Kinda interestingly: it zips to 17MB, but the binary looks to be 56MB (davit.app/contents/macos/davit). That seems like a surprising amount of compression for a binary - embedded assets maybe? Possibly this is normal for mac apps though?

  • A lot of Mac apps compress like this. Not so long ago, it was pretty common to download a 3-400mb dmg file that decompresses to a 1.5gb app package, for example.

    • A lot of the time that happened, when I checked it was because a lot of the assets were relatively uncompressed, so DMG-compression shrank them considerably. I haven't noticed the binaries themselves being this compressible.

      But that's just "noticed", I definitely haven't paid much attention. And don't have a mac nowadays, so I can't go check my hard drive now.

      1 reply →

Docker desktop is a memory hog. What's the memory usage of Davit?

  • With nothing running, the platform's background services idle at roughly 25 MB. Docker desktop starts a single VM to host all containers and will reserve memory to do so. Davit itself is about 25mb and then each container will use the memory up to what you allocate for it.

I will give this a try!

Docker desktop on mac does not work well (uses lots of resources) and my current alternative is OrbStack (very slick, uses far less resources, but freemium).

I really want to use this but am stuck (right now) having to use Caddy's docker tags integration for name resolution.

How does it compare to something like OrbStack?

  • OrbStack has its own virtualization layer designed to simulate Docker. Containerization has different primitives even though it supports the same OCI images

    • Okay, so it allows to run the same image, but is not CLI-compatible with docker that's what you mean? But is it more / less / equivalently efficient ?

      1 reply →

can someone tldr me why choose apple container (and its ui) over docker (and orbstack)

  • I can’t speak about orbstack, but I’ve worked with docker desktop and podman desktop for years on macOS. Those programs start up a virtual machine that consistently eats ram regardless of whether or not you are running containers in it. Apple container looks lighter weight. In the age of ridiculous ram costs, you gotta save resources.

    • In addition to memory saver that another person replied about, Docker Desktop also has an MCP server functionality and marketplace (almost all free) and huge AI focus. You can hardly compare it to the others at this point.

      I was doing the following at the same time on my MBP this week:

      * running a bunch of containers + MCP servers for Claude and Codex on Docker Desktop

      * heavily using Claude Code with Fable and packer to build cloud marketplace images

      * having Codex write some tests and git flows and reviewing the work in vscode

      * automating a character in a Wine-based 1st party RPG in the background running at full resolution

      * watching anime on Plex in between Claude Code prompts

      It's all about your machine. Docker Desktop is not my worry and if you're a Dev you should have a nice laptop with 32-64GB or more, Apple Silicon Max CPU, etc. This goes for Fusion or UTM also if you want to run a Linux Desktop.

      I use docker CE with all container/tui interfaces on all of my Linux systems, but Docker Desktop is nice for macOS or Windows. I almost forgot about Docker Desktop's Gordon, and the AI assistant will do things like analyze your Dockerfile or compose.yml. Super handy.

      1 reply →

    • Docker Desktop's memory saver shuts down VM when containers are not running.

      Additionally, Docker/Podman/Orbstack start a single VM, where memory is shared between containers.

      On the other hand, Apple Containers create a separate VM for each container, which results in higher memory usage due to Linux kernel overhead, as well as the fact that kernel will try to use most of the available memory for file caching.

> Tiny. A single ~17 MB app

Oh goodness what have we come to? I know we're comparing to electron monstrosities, but still

  • complaining about 17mb in 2026 has to be virtue signaling of some sort...

    yes I know we went to the moon with a few kb but are we going to hang on to that for ever?

    • How would this be virtue signaling?

      Anyway, I think we should want to build efficient things. Dismissing this doesn’t seem terribly productive.