A simple docker container that runs PostGIS
docker-compose build --no-cache
--no-cache is optional. Do not use cache when building the image, if you need to completely rebuild the image you can use this otherwise it was optional.
docker-compose up -d
-d will run the container in background
docker-compose down