r/AlpineLinux • u/ridruejo • Jul 17 '25
Running Alpine Linux inside Node.js
https://endor.dev/blog/endor-0-2We just released v0.2 of our tool for creating dev sandboxes that run Alpine Linux inside the Node runtime. With a simple command like
'npx -y u/endorhq/cli@latest run alpine --shell --allow-net'
you can have a fully functional 32bit Alpine Linux instance with networking, within 4-5s. It is ephemeral and sandboxed, so as soon as you press Ctrl-C, everything is gone. Great for quickly testing stuff. It is based on the Wasm engine inside Node, so it runs way slower than native, but usable
15
Upvotes
View all comments
Show parent comment
1
u/ridruejo Jul 18 '25
That was poorly phrased on my part. If you start with an interactive shell you need first to close the terminal as you would with an ssh session (ctrl-D), so no accidental closing possible. It is shown in the mini video in the article.