kdrag0n

Joined 6 years ago

Karma
986
Submissions
194
Member since
Jan 28
Building OrbStack, a fast, light, and simple alternative to Docker Desktop: https://orbstack.dev

https://kdrag0n.dev

Email: hn@<username>.dev

View on Hacker News

Recent submissions

Comment · 4 months ago
Interesting, what devices would you want to pass through?
Comment · 4 months ago
love to hear it!
Comment · 4 months ago
The Linux VM host and guest components are all custom, as well as the daemon that manages machines. It currently uses LXC as the runtime but that's being replaced as well. For containers we run a standard Docker engine inside a special machine.
Comment · 4 months ago
Can you share more details? OrbStack has always supported inotify/fanotify (Linux fs watching APIs) on bind mounts and most people use watchers with no issues. Happy to look into whatever you're running into: [email protected]
Comment · 4 months ago
We're working on block device passthrough for the builtin SD reader.
Comment · 4 months ago
That's my bad, I used the example alpine commands and the official alpine doesn't have init. It's supported if you build an image with systemd installed
Comment · 4 months ago
Yep! Still refining it but isolated machines now have fine-grained settings for filesystem mounts, network isolation, SSH agent forwarding, and CPU/memory/disk limits
Comment · 4 months ago
Curious if you've tried OrbStack? There's always more work to do (test workloads appreciated!) but we've put a lot of effort into optimizing for small files and other common developer workloads in OrbStack's customized filesystem sharing protocol (not standard virtiofs).
Comment · 4 months ago
Ahh those were good times, glad you came across it :)
Comment · 4 months ago
Good catch, I tried the example alpine commands and there was no init system. Makes sense if it's based on OCI images
Comment · 4 months ago
Comment · 4 months ago
(OrbStack dev here.) Instead of Virtualization.framework, we have a custom Rust virtualization stack with custom devices and protocols for things like filesystem sharing. It's a highly optimized vertically integrated stack specifically for running our Linux machines and containers.

Our biggest perf/resource gain is dynamic memory, which reduces memory usage a lot by releasing unused memory back to macOS. Nothing else supports this, including Containerization.

I gave Container Machines a try and it seems to be much closer to OCI containers with a default bind mount than OrbStack machines. It has fewer integrations and doesn't run systemd or any other normal init system, so it's hard to run services.

Comment · 5 months ago
We have isolated machines in OrbStack now! Isolated machines have options for network isolation and mounting only specific paths (or none).
Comment · 5 months ago
We're releasing USB in OrbStack tomorrow :)
Comment · 8 months ago
what tasks can the model do out of the box? was each of the examples a different fine tuned model?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton