Settings

Theme

Ask HN: How to have a macOS devcontainer in VS Code?

2 points by sroussey 7 days ago · 1 comment · 1 min read


In order to avoid all the fun of installing npm packages and running such code (as well as running coding agents!), I use a devcontainer to limit the blast radius inside VS Code and Cursor.

But I am also doing local model stuff, which means I can only run on CPU. I know on Windows there are containers that will forward CUDA stuff to the host system to run, but there is no such thing on MacOS.

The builtin devcontainer stuff is based on Docker, but maybe someone has hacked something together to get native virtualization to present itself like docker so i could get this to work?

What do other people do?

alsetmusic 7 days ago

Maybe check this out:

https://cua.ai/docs/lume/guide/getting-started/introduction

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection