go

official languages

Multi-architecture Go 1.23 toolchain (golang:1.23) — compile and run Go programs with the full toolchain on arm64 or amd64 hosts.

linux/amd64linux/arm64
by smolmachines updated 6/5/2026
pull
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.

how to use

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
tags
tagdigestsizeplatformscreated
latest281 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