Public | Automated Build

Last pushed: a year ago
Short Description
Command Line Interface Tools to Manage PostgreSQL 9.x Servers
Full Description

About

This repository contains a simple Docker image that will setup the command line interface (CLI) tools used to manage Postgre 9.x servers. This is useful usually to people that cannot easily install the mysql CLI tools to their machines or those are not available (e.g. macOS users). In order to use it please follow the below steps:

Step 1: docker pull egonbraun/postgresql-cli
Step 2: docker build -t egonbraun/postgresql-cli:latest .
Step 3: docker run -it postgresql-cli

The last step will open a shell as root so you can start running the tools you need. ; -)

Tools

Keep in mind that the tools listed here are part of the PostgreSQL 9.3 package. However, you should not have problems running them against a later release of PostgreSQL server.

  • pg_isready
  • reindexdb
  • psql
  • createdb
  • createuser
  • droplang
  • pg_basebackup
  • pg_receivexlog
  • pg_restore
  • vacuumdb
  • pg_dumpall
  • pg_dump
  • dropdb
  • createlang
  • clusterdb
  • dropuser
  • pgcli

Volumes

Here are the volumes created as part of this image so you can for example export data from your PostgreSQL server and store it locally.

  • /mnt/data
Docker Pull Command
Owner
egonbraun
Source Repository

Comments (0)