Better HN
topnewbestaskshowjobs
Log inSign up

kdrag0n

986 karma · joined Jan 28, 2020 (6y ago) · 194 submissions

Building OrbStack, a fast, light, and simple alternative to Docker Desktop: https://orbstack.dev

https://kdrag0n.dev

Email: hn@<username>.dev

Submissions

comment 5mo ago · link · parent

Interesting, what devices would you want to pass through?

comment 5mo ago · link · parent

love to hear it!

comment 5mo ago · link · parent

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 5mo ago · link · parent

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: danny@orbstack.dev

comment 5mo ago · link · parent

We're working on block device passthrough for the builtin SD reader.

comment 5mo ago · link · parent

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 5mo ago · link · parent

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 5mo ago · link · parent

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 5mo ago · link · parent

Ahh those were good times, glad you came across it :)

comment 5mo ago · link · parent

Good catch, I tried the example alpine commands and there was no init system. Makes sense if it's based on OCI images

comment 5mo ago · link · parent

We just released this in OrbStack :) https://docs.orbstack.dev/features/usb

Blog post soon

comment 5mo ago · link · parent

(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 5mo ago · link · parent

We have isolated machines in OrbStack now! Isolated machines have options for network isolation and mounting only specific paths (or none).

comment 5mo ago · link · parent

We're releasing USB in OrbStack tomorrow :)

comment 9mo ago · link · parent

what tasks can the model do out of the box? was each of the examples a different fine tuned model?

16.

1.1.1.1 Is Down(one.one.one.one ↗)

10 points · by kdrag0n · 1y ago · 1 comment

comment 2y ago · link · parent

Love to hear that :) sent you an email about the k8s IPv6 issue — should be able to get it fixed in OrbStack

comment 2y ago · link · parent

A small team now :)

(not back then though)

comment 2y ago · link · parent

Drop-in: "orb" to start, stop it + uninstall + restart Colima to revert.

It can optionally install OrbStack's bundled `docker` and `docker compose` binaries, but you can also keep using the Homebrew ones.

comment 2y ago · link · parent

The issue submitter just happened to be running LXD in their OrbStack machine.

comment 2y ago · link · parent

Sorry, no plans for that. That vertical integration is a key part of OrbStack — it's not just for nice extras/integrations.

comment 2y ago · link · parent

OrbStack domains can be nice but you don't have to use them. It's fully compatible with Compose, so you can just run the same commands with no changes to your setup. Did that not work for you?

comment 2y ago · link · parent

It's a shared VM and kernel, so the security boundary between containers is only as strong as typical Linux containers, and we don't really use the VM as a strong security boundary right now. The security model is similar to running Docker containers on a native Linux machine for development.

Admin privileges aren't required on the macOS side. You can optionally allow a privileged helper for some small niceties, but the VM process never runs as root.

The virtualization stack is custom, which allows for a lot of performance and stability improvements. It's not Virtualization.framework or QEMU.

Containers don't require virtualization, so Docker-in-Docker works. Not sure what you mean by Docker-out-of-Docker, but you can run Docker in OrbStack Linux machines, and you can use the managed engine from macOS.

comment 2y ago · link · parent

It's because Rosetta doesn't seem to emulate /proc/cpuinfo, so the contents reflect that of the arm64 host.

comment 2y ago · link · parent

Love to hear that. We're actually a small team at OrbStack now!

comment 2y ago · link · parent

We use a custom virtualization stack instead of QEMU. It makes a lot of performance and stability improvements possible.

comment 2y ago · link · parent

Nice to see this here :)

I work on OrbStack. Happy to answer questions!

comment 2y ago · link · parent

Dev here — I've been meaning to update the Homebrew cask to be more complete on zap, but there's a good reason that all of these are needed:

- ~/.orbstack

- Docker context that points to OrbStack (for CLI)

- "source ~/.orbstack/shell/init.zsh" in .zprofile/bash_profile (to add CLI tools to PATH)

- ~/.ssh/config (for convenient SSH to OrbStack's Linux machines)

- Symlinks to CLI tools in ~/.local/bin, ~/bin, or /usr/local/bin depending on what's available (to add CLI tools to existing shells on first install — only one of these is used, not all)

- Standard macOS paths (~/Library/{Application Support, Preferences, Caches, HTTPStorages, Saved Application State, WebKit})

- Keychain items (for secure storage)

- ~/OrbStack (empty dir for mounting shared files)

- /Library/PrivilegedHelperTools (to create symlinks for compatibility)

Not sure what the best solution is for people who don't use Homebrew to uninstall it. I've never liked separate uninstaller apps, and it's not possible to detect removal from /Applications when the app isn't running.

comment 2y ago · link · parent

OrbStack | Founding Engineer | US/Europe REMOTE | Full-time | https://orbstack.dev

OrbStack is making Docker containers & development environments delightful. Our app replaces Docker Desktop and makes containers faster, lighter, and easier to work with. It's the tool of choice for PlanetScale, Replicate, and other hot companies.

Containers should be a joy to use, not something you have to put up with. Let's build the future of dev envs.

As a founding engineer, you'll mainly work on breaking high-level ideas down into tough systems problems, solving them, and taking ownership of projects. If https://cpu.land and https://docs.orbstack.dev/architecture excite you, you'll be right in place.

Email: jobs orbstack dev

1234567