frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Ask HN: MicroVM setup for VS Code Dev Container-like experience?

2•Erndob•16h ago
My current setup is just doing my entire development in a dev container that is running locally.

I open VS Code, I open the local folder in a dev container. The local folder gets mounted into container for persistent changes. The container dockerfile is my setup of dev dependencies. Within the container I can do whatever global installs I want that persist between sessions, and the project edits persist on host machine.

That works and I like the setup. I can run CLI codent agent in the terminal of VS Code, while still having good dev experience.

Now, I would like to have basically this flow but be MicroVM based, where the main thing I solve is allowing me to run docker inside that microvm, as docker-in-docker does not work well. Additionally if I could use secrets without them being exposed in the microvm itself, that would be amazing.

But I've spent a good amount of time checking different microvm's, and there's a few issues:

- A lot of them are designed for short ephemeral tasks, not a long running dev environment that easily persists and has separation of container persistence and host persistence

- I don't think they integrate with VS Code or other dev tools? Are you supposed to install vs code into the microVM itself, instead of having host VS Code interact with it?

- Docker released sandboxes which kinda does what I need, but it is JUST ai agents. And only the ones they support. You can't have your own custom environment where you do what you want.

So I am confused. There's tons of different solutions and none of them seem to work, all I want is to have Dev-Container like experience that is a bit more secure and can allow me to do Docker inside of it.

Comments

zdkaster•15h ago
If I understand correctly, I think your usecase better fit with Lima -> https://lima-vm.io/ than microvm. So, might worth trying it https://lima-vm.io/docs/examples/vscode/ a bit.
verdverm•9h ago
I've been using a similar setup, but based on Dagger. I don't have it as a proper dev container (yet), but I get a lot of the vscode benefits by presenting it as a virtual filesystem and terminal. I can make fully custom envs that myself or my agents can use, we can even share the same ones and see each others changes.

Tell HN: Claude 4.7 is ignoring stop hooks

89•LatencyKills•1d ago•84 comments

Batteries Included CLI Framework

3•maxalbarello•4h ago•5 comments

Ask HN: Do you read differently now that anything could be AI generated?

5•dwa3592•5h ago•13 comments

Ask HN: Do you waste AI assisted time looking for answers?

2•Haeuserschlucht•5h ago•0 comments

Ask HN: Is anyone working on Gov Digital IDs or have implementation docs / FOSS

3•lifeisstillgood•5h ago•0 comments

Ask HN: Anyone managed to get Google trends API?

7•visox•7h ago•0 comments

Ask HN: Cyberdecks are cool but do they serve a purpose?

5•hamiecod•4h ago•1 comments

How to Attend the Altman vs. Musk Trial

4•major4x•4h ago•0 comments

Ask HN: Is Zuckerberg just a „one-hit-wonder"?

5•fandorin•9h ago•9 comments

Ask HN: MicroVM setup for VS Code Dev Container-like experience?

2•Erndob•16h ago•2 comments

Ask HN: How do solo devs protect their work in the age of vibe coding?

27•langs•1d ago•15 comments

Ask HN: Scaling a targeted web crawler beyond 500M pages/day

22•honungsburk•1d ago•7 comments

Ask HN: Any recommendataions for exporting data from Amazon?

7•coreyp_1•22h ago•2 comments

GPT-5.5 – No ARC-AGI-3 scores

19•AG25•2d ago•3 comments

Tell HN: YouTube RSS feeds no longer work

38•019•2d ago•14 comments

Ask HN: Anyone still using JetBrains products today?

7•zkid18•1d ago•7 comments

How good is Mac Studio M3 Ultra for Trillion param models like DeepSeekv4?

8•namegulf•1d ago•7 comments

Ask HN: Chrome, Brave, Firefox or Something Else?

13•wasimsk•1d ago•17 comments

Tell HN: Codex macOS app switches to Fast speed after update without asking

10•mfi•1d ago•1 comments

Tell HN: Anthropic won't reset usage limits for those who downgraded

9•vintagedave•1d ago•0 comments

Ask HN: How are you using AI code assistants on large messy legacy code bases?

13•thinkingtoilet•1d ago•13 comments

Ask HN: Why are companies so distrustful of remote employees?

23•lyfeninja•1d ago•24 comments

Hey, it's Earth Day today

25•burnt-resistor•3d ago•16 comments

Can non-developer build commercial products with AI

9•rkorlimarla•2d ago•10 comments

Is possible a language easy as py, fast as C, more secure than Rust?

10•jerryzhang66•1d ago•10 comments

Anthropic bans orgs without warning

44•alpinisme•4d ago•20 comments

Ask HN: How are you handling data retention across your stack?

11•preston-kwei•3d ago•6 comments

Ask HN: Any Developer from Wales?

10•danver0•23h ago•5 comments

Ask HN: What's a mind-blowing fact you know?

9•chistev•10h ago•3 comments

Ask HN: Would you take a job programming VMS?

14•smackeyacky•2d ago•19 comments