Multi-architecture Go 1.23 toolchain (golang:1.23) — compile and run Go programs with the full toolchain on arm64 or amd64 hosts.
smolvm pack pull registry.smolmachines.com/library/go:latest This command uses a tag published for this package. Confirm that its platform entry in the tags table matches your host architecture; :latest is not universally multi-platform.
Verified steps — with the smolvm CLI installed:
# Pull :latest — multi-platform; smolvm selects for this host (linux/amd64, linux/arm64)
smolvm pack pull registry.smolmachines.com/library/go:latest -o go.smolmachine # Run a one-off command — ephemeral, the VM is discarded when it exits
smolvm pack run --sidecar go.smolmachine go version # Or run it as a persistent machine — create, start, exec, stop
smolvm machine create --name go --from go.smolmachine smolvm machine start --name go smolvm machine exec --name go -- go version smolvm machine stop --name go | tag | digest | size | platforms | created |
|---|---|---|---|---|
latest | 281 MB | linux/amd64linux/arm64 | 6/5/2026 |
golang:1.23containerbash/go4 CPU, 8192 MBlinux/amd64multi0.9.0