Installing Container
To test that the Docker software is correctly installed, you can run the following from PowerShell:
docker version
The following will download the VLDB Greenplum Container to Docker Desktop:
docker pull docker.io/vldbuk/gpdb_demo_repo:gpdb_demo
And now we can start the container running in the background with the following:
docker container run -ti -d --privileged=true -p 5432:5432 `
docker.io/vldbuk/gpdb_demo_repo:gpdb_demo "/usr/lib/systemd/systemd"

Now that the container is installed, we can get the container ID and use this to connect to the container:
${CONTAINER_ID}=$( docker ps -a | select-object -last 1 ).split(' ')[0]
docker exec -it ${CONTAINER_ID} bash
From here, you can change to the gpadmin user and start the Greenplum software running:
su gpadmin
gpstart

Last updated