pgbench is a simple program for running benchmark tests on PostgreSQL.
https://www.postgresql.org/docs/10/pgbench.html
docker build -t mattdevdba/pgbench .See env.list and ensure the correct values are set for your database before running
docker run -it --env-file ./env.list mattdevdba/pgbench pgbench -idocker run -it --env-file ./env.list mattdevdba/pgbench pgbench -c 10 -j 10 -t 10000