Public | Automated Build

Last pushed: 6 days ago
Short Description
PostgreSQL on Raspberry Pi / armhf (based on the Docker official image for postgres)
Full Description

PostgreSQL on Raspberry Pi / armhf

This is a port of the official PostgreSQL image https://hub.docker.com/_/postgres/ for Raspberry Pi / armhf.

Supported tags and respective Dockerfile links

What is PostgreSQL?

PostgreSQL, often simply "Postgres", is an object-relational database management system (ORDBMS) with an emphasis on extensibility and standards-compliance. As a database server, its primary function is to store data, securely and supporting best practices, and retrieve it later, as requested by other software applications, be it those on the same computer or those running on another computer across a network (including the Internet). It can handle workloads ranging from small single-machine applications to large Internet-facing applications with many concurrent users. Recent versions also provide replication of the database itself for security and scalability.
PostgreSQL implements the majority of the SQL:2011 standard, is ACID-compliant and transactional (including most DDL statements) avoiding locking issues using multiversion concurrency control (MVCC), provides immunity to dirty reads and full serializability; handles complex SQL queries using many indexing methods that are not available in other databases; has updateable views and materialized views, triggers, foreign keys; supports functions and stored procedures, and other expandability, and has a large number of extensions written by third parties. In addition to the possibility of working with the major proprietary and open source databases, PostgreSQL supports migration from them, by its extensive standard SQL support and available migration tools. And if proprietary extensions had been used, by its extensibility that can emulate many through some built-in and third-party open source compatibility extensions, such as for Oracle.

wikipedia.org/wiki/PostgreSQL and postgresql.org

How to use this image

  • $ docker pull tobi312/rpi-postgresql:9.4
  • Optional: $ mkdir -p /home/pi/.local/share/postgresql
  • $ docker run --name pgsql -d -p 5432:5432 -v /home/pi/.local/share/postgresql:/var/lib/postgresql/data -e POSTGRES_PASSWORD=mysecretpassword tobi312/rpi-postgresql:9.4

or build it yourself

  • $ git clone https://github.com/TobiasH87Docker/rpi-postgresql.git && cd rpi-postgresql/
  • $ docker build -t tobi312/rpi-postgresql:9.4 ./9.4/
  • Optional: $ mkdir -p /home/pi/.local/share/postgresql
  • $ docker run --name pgsql -d -p 5432:5432 -v /home/pi/.local/share/postgresql:/var/lib/postgresql/data -e POSTGRES_PASSWORD=mysecretpassword tobi312/rpi-postgresql:9.4

Environment Variables

PostgreSQL with PostGIS ? , see here:

This Image on

Docker Pull Command
Owner
tobi312
Source Repository

Comments (0)