postgres

official databases

postgres:16 — packaged as a smolmachine

linux/amd64
by smolmachines updated 7/20/2026
pull
smolvm pack pull registry.smolmachines.com/library/postgres:16
how to use

Verified steps — with the smolvm CLI installed:

# Pull (amd64)

smolvm pack pull registry.smolmachines.com/library/postgres:amd64 -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
7/20/2026
latest149 MB
linux/amd64
7/20/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.14-1.pgdg13+1 PGDATA=/var/lib/postgresql/data