For the postgres container, we are armed with the configuration (user and connection information) from the production install and the wiki.sql file we generated using the pg_dump command. This file will be used to populate our test container DB at startup. Please note that, this a copy of the the wiki's production database and is therefore subject our organization's data controls, data loss prevention, and other applicable policies and/or regulations.
We will start with an official Postgres Docker image that matches our Postgres version, in our case Postgres 9.3. We search Docker Hub to find the official Postgres repository. Then, we click on the tags tab to find a tag to match our the version ...