GithubHelp home page GithubHelp logo

gpdb6-docker's Introduction

gpdb6-docker

Dockerfile for gpdb6 env.

This is a Docker image file to deploy an single node open source Greenplum Database for test purpose.

This image will use Greenplum 6.22.2 source code and compiling the binary, which runs on both x86 and arm (Including Mac M1) chips. The Greenplum version will be deployed is "Greenplum Database 6.22.2".

Deploy steps:

  1. Install Docker Desktop
  2. Download this repo
  3. execute run.sh
unzip gpdb6-docker.zip
cd gpdb6-docker
./run.sh

To use:

  1. Connect to container from hosting machine:
ssh gpadmin@localhost (Password:Hashdata@123)

OR

docker exec -it <container-id> /bin/bash

If success, it will be like this:

[gpadmin@mdw ~]$
  1. Log in database within the docker:
[root@mdw /]# su - gpadmin
Last login: Wed Nov 16 17:04:08 CST 2022 on pts/1
[gpadmin@mdw ~]$ psql
psql (9.4.26)
Type "help" for help.

gpadmin=# select version();
                                                                                                               version

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------
 PostgreSQL 9.4.26 (Greenplum Database 6.22.2 build commit:696a149425d88961d38cb2254e82a92a7f4f9424) on aarch64-unknown-linux-gnu, compiled by gcc (GCC) 10.2.1 20210130 (Red
Hat 10.2.1-11), 64-bit compiled on Dec 13 2022 09:42:56
(1 row)

Now you got a Greenplum database for testing, enjoy!

gpdb6-docker's People

Contributors

ryanwei avatar

Watchers

 avatar

Forkers

cwu3atvn

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.