This is a combination of below works
Running Greenplum on center OS docker https://github.com/pavels1983/test
Running multi-host Greenplum on Ubuntu https://github.com/DataRoadTech/greenplum-docker
Download the Greenplum binary to this folder. (eg: greenplum-db-5.11.3-rhel7-x86_64.zip) (https://network.pivotal.io/products/pivotal-gpdb#/releases/204067/file_groups/1160)
Docker for greenplum (5.11.3) database.
docker build -t ubuntu-gpdb .
From the command line execute the following command: docker run -it -p 5432:5432 --hostname=db_master_1 --name reflect-gpdb ubuntu-gpdb bash
Connect to your host on port 5432 user/pass is gpadmin/dataroad
From the command line execute the following command: docker-compose up
You can connect to your host using PGADMIN on port 15432 user/pass is gpadmin/dataroad
This file contains the name of the hosts to connect to. By default there is one host 'db_master_1'.
This file contains the name of the segments that the master connects to. This is used when running a multi-node cluster and has 3 segments in it.
Configuration file for setting up the greenplum cluster.
##Questions?