Let's see if we can complete these steps by using our intuitive knowledge of docker. First, grab a clean docker image.
docker pull postgres
Check that you have it by running
docker images and seeing it listed there.
The Postgres container provides a very nice warning to set the master password for the database. Let's also make sure to expose 5432 from inside the container. If you have multiple databases or containers running you may want to choose a different host machine port, for example 2345.
docker run -d -p 2345:5432 -e POSTGRES_PASSWORD=getarctype postgres
Now, you can run
docker ps to check that it is running and active:
For a fresh Postgres database, the default user is
postgres and the default database is also
postgres. Use that plus the port and password you entered above. On most systems, the docker networking is in the
Host configuration which means the database is available on localhost:
Click Test Connection and then Save and you're done!