This is the Dockerfile for pgxl image that runs a Postgres-XL cluster. The cluster is made of one coordinator and two datanodes. Good for testing purposes.
$ docker build --tag=pgxl .
$ docker run -d -P --name pgxl pgxl
Now you have a running cluster, to interact with you can log into the running container and use psql.
$ docker exec -it pgxl /bin/bash
$ psql
# Dockerfile
FROM jorgeramirez/pgxl
ADD init.sql /pgxl-initdb.d/
Database user/password
postgres/postgres
SO root user/password
root/admin
MIT © Jorge Ramírez