Live data from Hacker News

Show HN: Devbox – Easy, predictable shells and containers

github.com

11–20 of 196 posts

Re: Show HN: Devbox – Easy, predictable shells and containers

#11
post #7

Having a deterministic environment, but that is actually running on your laptop is so much better than working inside a docker container. Inside a container the file system is very slow, and you lose all of your other tools and shell aliases.

So, that’s what this is?

Re: Show HN: Devbox – Easy, predictable shells and containers

#12
post #7

Having a deterministic environment, but that is actually running on your laptop is so much better than working inside a docker container. Inside a container the file system is very slow, and you lose all of your other tools and shell aliases.

This is a cool project and yay nix, but:

> Inside a container the file system is very slow

Because you are not using "a container".

You are using a container that happens to be running in a linux VM on your OS X laptop. It's not the containers fault, it's the entire virtual machine that you are running because you're trying to run technology built on top of one operating system while running a completely different one.

Re: Show HN: Devbox – Easy, predictable shells and containers

#13
post #7

Having a deterministic environment, but that is actually running on your laptop is so much better than working inside a docker container. Inside a container the file system is very slow, and you lose all of your other tools and shell aliases.

So, that’s what this is?

I haven't run devbox, but the README says that it requires docker to be installed. This makes me believe it isn't running the programs on my system (macos), but rather in the Linux VM.

Re: Show HN: Devbox – Easy, predictable shells and containers

#14
post #7

Having a deterministic environment, but that is actually running on your laptop is so much better than working inside a docker container. Inside a container the file system is very slow, and you lose all of your other tools and shell aliases.

What I really want is a tool like docker compose that builds on top of a tool like this (instead of docker)

Re: Show HN: Devbox – Easy, predictable shells and containers

#15
Looks really good. A layer over Nix that makes it tolerable sounds like a godsend. I’ve had a TODO item for “somehow use Nix for our dev env” at Notion since 2019, but I keep kicking the can down the road because its better to tolerate a 500 line setup script than learn all the Nix stuff. Of course we could use Docker, but then on Mac our dev process would be 3x slower.

Congrats to Daniel and the team! Excited to see what’s next after this.

Re: Show HN: Devbox – Easy, predictable shells and containers

#16
post #13

Earlier quoted context omitted.

So, that’s what this is?

I haven't run devbox, but the README says that it requires docker to be installed. This makes me believe it isn't running the programs on my system (macos), but rather in the Linux VM.

It will use Nix to build a shell on your local machine directly, so you can run the program on your system directly (not in a VM).

It also has some early functionality where you can turn that shell into a Docker container, so you can run the same shell + program in other environments or in the cloud

Re: Show HN: Devbox – Easy, predictable shells and containers

#17
post #7

Having a deterministic environment, but that is actually running on your laptop is so much better than working inside a docker container. Inside a container the file system is very slow, and you lose all of your other tools and shell aliases.

What I really want is a tool like docker compose that builds on top of a tool like this (instead of docker)

+1

Re: Show HN: Devbox – Easy, predictable shells and containers

#18
Thanks.

> Devbox was originally developed by jetpack.io and is internally powered by nix.

If this wasn't mentioned, I'd have easily mistaken devbox to be an escaped implementation of Brazil VersionSets and Apollo VersionFilters (used internally at Amazon).

If I may, in the near-term does jetpack.io plan to continue to use and sponsor devbox's development? And, in the long-term, does jetpack plan to monetize this project, or donate it to a foundation, or some such?

Re: Show HN: Devbox – Easy, predictable shells and containers

#19
post #13

Earlier quoted context omitted.

So, that’s what this is?

I haven't run devbox, but the README says that it requires docker to be installed. This makes me believe it isn't running the programs on my system (macos), but rather in the Linux VM.

so an abstration on top of docker?
Post reply on HN