InFeeo
Language

Smol Machines(github.com)

×
Link preview GitHub - smol-machines/smolvm: Tool to build & run portable, lightweight, self-contained virtual machines. Tool to build & run portable, lightweight, self-contained virtual machines. - smol-machines/smolvm GitHub · github.com
about Run any workload in a fast, hardware-isolated Linux VM. The same SDK and the same .smolmachine artifact run identically: on your Mac or Linux box — sub-second boot, free, offline. in our cloud — deploy with one call. self-hosted — on your own servers. Develop locally, then deploy or self-host without changing a line. The engine is open source (Apache-2.0): smol-machines/smolvm. install + usage # install (macOS + Linux)
curl -sSL https://smolmachines.com/install.sh | bash

# for coding agents — install + discover all commands
curl -sSL https://smolmachines.com/install.sh | bash && smolvm --help # run a command in an ephemeral VM (cleaned up after exit)
smolvm machine run --net --image alpine -- sh -c "echo 'Hello world from a microVM' && uname -a"

# interactive shell
smolvm machine run --net -it --image alpine -- /bin/sh
# inside the VM: apk add sl && sl && exit

# uninstall
curl -sSL https://smolmachines.com/install.sh | bash -s -- --uninstall use this for sandbox untrusted code — run untrusted programs in a hardware-isolated VM. Host filesystem, network, and credentials are separated by a hypervisor boundary. # network is off by default — untrusted code can't phone home
smolvm machine run --image alpine -- ping -c 1 1.1.1.1
# fails — no network access

# lock down egress — only allow specific hosts
smolvm machine run --net --image alpine --allow-host registry.npmjs.org -- wget -q -O /dev/null https://registry.npmjs.org pack into portable executables — turn any workload into a self-contained binary. All dependencies are pre-baked — no install step, no runtime downloads, boots in

Log in Log in to comment.

No comments yet.