postgres

official databases

postgres:16 — packaged as a smolmachine

linux/amd64
by smolmachines updated 8/17/2026
pull
smolvm pack pull registry.smolmachines.com/library/postgres: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 — linux/amd64 only

smolvm pack pull registry.smolmachines.com/library/postgres:latest -o postgres.smolmachine

# Run a one-off command — ephemeral, the VM is discarded when it exits

smolvm pack run --sidecar postgres.smolmachine docker-entrypoint.sh

# Or run it as a persistent machine — create, start, exec, stop

smolvm machine create --name postgres --from postgres.smolmachine
smolvm machine start --name postgres
smolvm machine exec --name postgres -- docker-entrypoint.sh
smolvm machine stop --name postgres
tags
tagdigestsizeplatformscreated
16149 MB
linux/amd64
8/17/2026
latest149 MB
linux/amd64
8/17/2026
configuration
base image postgres:16
mode container
entrypoint docker-entrypoint.sh
workdir /
resources 4 CPU, 8192 MB
guest platform linux/amd64
host platform linux/amd64
smolvm version 1.2.1
environment
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/postgresql/16/bin GOSU_VERSION=1.19 LANG=en_US.utf8 PG_MAJOR=16 PG_VERSION=16.15-1.pgdg13+2 PGDATA=/var/lib/postgresql/data