go

official languages

Go 1.23 toolchain (golang:1.23) โ€” compile and run Go programs with the full toolchain (go build / run / test) in an isolated microVM.

linux/amd64linux/arm64
by smolmachines updated 6/5/2026
pull
smolvm pack pull registry.smolmachines.com/library/go:latest
how to use

Verified steps โ€” with the smolvm CLI installed:

# Pull (Apple Silicon / arm64; use :amd64 on Intel/AMD)

smolvm pack pull registry.smolmachines.com/library/go:arm64 -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 go --from go.smolmachine
smolvm machine start --name go
smolvm machine exec --name go -- go version
smolvm machine stop --name go
tags
tagdigestsizeplatformscreated
latestsha256:78803398a523...281 MB
linux/amd64linux/arm64
6/5/2026
configuration
base image golang:1.23
mode container
entrypoint bash
workdir /go
resources 4 CPU, 8192 MB
guest platform linux/amd64
host platform multi
smolvm version 0.9.0
environment
PATH=/go/bin:/usr/local/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin GOLANG_VERSION=1.23.12 GOTOOLCHAIN=local GOPATH=/go