Running PostgreSQL Tests in a Docker Pipeline From Scratch (Almost) To run this code locally, first make sure that you have installed Docker. Then, clone the repo and follow these steps: virtualenv ENV docker build -t docker_postgresql_test:latest . docker run -it docker_postgresql_test:latest That's it!