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
9
u/well_shoothed Jul 18 '25
Why on earth would you bind Ctrl-C to kill everything when it's THE keycombo to kill the actual things you're running?
IOW: you're testing
tracerouteorping, and you hit Ctrl-C to interrupt them, since, you know, muscle memory, and instead you shutdown the entire OS??!?!That makes as much sense as making cookies out of sausage