To run this code locally, first make sure that you have installed Docker. Then, clone the repo and follow these steps:
cd path/to/medium-test-postgresql-java
docker build -t docker_postgresql_test:latest .
docker run -it docker_postgresql_test:latest
That's it!