Show HN: Davit, a Apple Containers UI

davit.app

353 points by xinit 20 hours ago


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.

_doctor_love - 12 hours ago

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.

joohwan - 2 hours ago

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.

simonw - 19 hours ago

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.

kylemclaren - 6 hours ago

Ha! Looks like we built the same thing: https://container-ui.fly.dev/

Now I wish I hadn't burned all those tokens!

mark_l_watson - 2 hours ago

Nice, I like the functionality and that it is a tiny native SwiftUI app. I recently wrote a blog [1] on using Apple containers for agentic coding; I just updated it to mention Davit. I so much prefer using Apple containers to using Docker on my two home Macs for personal projects.

[1] https://open.substack.com/pub/marklwatson/p/running-opencode...

dllrr - 16 hours ago

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.

reassess_blind - 10 hours ago

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.

internet2000 - 17 hours ago

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)

erdaltoprak - 5 hours ago

Posted my own take of that here without any traction a few days ago

It supports containers, machines, registries with a menu bar app if anyone is interested by it

https://news.ycombinator.com/item?id=48789503

https://github.com/erdaltoprak/ContainerUtility

ozarkerD - 16 hours ago

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

scosman - 2 hours ago

What's the best "run your coding agent in apple containers" setup folks have?

lelandfe - 17 hours ago

Unrelated. I noticed that the settings window (Cmd-,) text inputs all type from the right instead of the left like older macOS inputs (or web inputs[0])

Is that a thing macOS is moving to? I'm sure I've seen Apple use these too.

[0] https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

pjmlp - 9 hours ago

> 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.

keremimo - 9 hours ago

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?

neodymiumphish - 18 hours ago

contained-app includes a Files feature to allow in-container filesystem browsing. Is there any plan to implement this in Davit as well?

Looks like great work, will try it soon!

jon_adler - 7 hours ago

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

MoonWalk - 17 hours ago

I don't know a lot about containers. Would containers created for/with this also work in Docker?

Good name for this app, BTW.

bbg2401 - 19 hours ago

Other recent vibe-coded projects providing similar interfaces:

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

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

Groxx - 15 hours ago

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?

ballislife30 - 18 hours ago

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

david_p - 17 hours ago

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).

sails - 8 hours ago

Is this possibly a replacement for Orbstack?

siquick - 15 hours ago

Very nice - would love to see the ability to open a Dockerfile directly in the UI to build/run it.

Aejkatappaja - 6 hours ago

Looks nice!

Will give it a try, you won a star

nvahalik - 19 hours ago

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

mrbnprck - 19 hours ago

Looks great, does it also come with a menubar integration?

nf-x - 18 hours ago

Looks neat, need to give it a spin

piosin - 14 hours ago

Any hosting requirements?

oulipo2 - 19 hours ago

How does it compare to something like OrbStack?

armanj - 15 hours ago

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

dom96 - 17 hours ago

ooh nice

vladsiu - 11 hours ago

[dead]

andrew-waters - 5 hours ago

[dead]

3836293648 - 16 hours ago

> Tiny. A single ~17 MB app

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