pg_dump
Extract a PostgreSQL database into a script file or other archive file. More information: <https://www.postgresql.org/docs/current/app-pgdump.html>.
RUN apt-get update && \
apt-get install -y postgresql-client-9.1
RUN apt-get update && \
apt-get install -y postgresql-client-9.3
RUN apk add postgresql
RUN pacman -S --noconfirm postgresql-old-upgrade
RUN apt-get update && \
apt-get install -y postgresql-client-11
RUN yum install -y postgresql
RUN dnf install -y postgresql
RUN apt-get update && \
apt-get install -y postgresql-client-9.5