Download the PostgreSQL Docker image as a .tar

Get postgres:16, the official PostgreSQL database, as a docker-archive file from your browser. Then load it on any machine, even one with no internet access.

1 free export per email for images up to 500 MB. Pulled directly from Docker Hub, unmodified.

Load and run it on the target machine

Load the archive

docker load -i docker.io__library_postgres__16.tar

With Podman use podman load -i. On a Kubernetes node use sudo ctr -n k8s.io images import.

Run it

docker run -d -e POSTGRES_PASSWORD=change-me -p 5432:5432 postgres:16

Pin the major version you run in production; a new major version needs a data migration.

Popular tags

  • postgres:16
  • postgres:16-alpine
  • postgres:17
  • postgres:18

Any tag works: replace the part after the colon in the export field. Only linux/amd64 images are exported.

PostgreSQL image questions

Is this the original image?

Yes. ContainerDL pulls postgres from Docker Hub and packages the layers as they are, in the same format as docker save.

Can I get an arm64 version?

Not yet. Exports are linux/amd64 only.

How long can I download the file?

Until the export expires; it is then deleted from our servers.