docker镜像地址
https://hub.docker.com/r/lhrbest/greenplum/tags
麦老师的各个版本镜像
1docker pull registry.cn-hangzhou.aliyuncs.com/lhrbest/greenplum:gpdball_6.25.3
2
3-- 单机
4docker pull lhrbest/greenplum:6.13.0
5docker pull lhrbest/greenplum:6.23.1
6docker pull lhrbest/greenplum:6.25.3
7docker pull lhrbest/greenplum:6.26.1
8docker pull lhrbest/greenplum:6.26.2
9docker pull lhrbest/greenplum:6.27.0_v2
10docker pull lhrbest/greenplum:7.0.0_v2
11docker pull lhrbest/greenplum:7.1.0
12docker pull lhrbest/greenplum:7.2.0
13docker pull lhrbest/greenplum:7.3.0
14
15
16-- 模拟生产环境,多个主机,带gpcc环境
17docker pull lhrbest/greenplum:gpdball_6.25.1
18docker pull lhrbest/greenplum:gpdball_6.25.3
19
20
21
22
23
24
25-- 单机
26docker rm -f gpdb6
27docker run -itd --name gpdb6 -h gpdb6 \
28 -p 5431:5432 -p 28088:28080 \
29 -v /sys/fs/cgroup:/sys/fs/cgroup \
30 --privileged=true lhrbest/greenplum:6.25.3 \
31 /usr/sbin/init
32
33docker rm -f gpdb6262
34docker run -itd --name gpdb6262 -h gpdb6261 \
35 -p 59431:5432 -p 28089:28080 \
36 -v /sys/fs/cgroup:/sys/fs/cgroup \
37 --privileged=true lhrbest/greenplum:6.26.2 \
38 /usr/sbin/init
39
40docker exec -it gpdb6 bash
41su - gpadmin
42gpstart -a
43gpcc start
44
45gpcc status
46gpstate
47
48
49
50-- docker pull lhrbest/greenplum:7.3.0
51
52docker rm -f gpdb7
53docker run -itd --name gpdb7 -h gpdb7 \
54 -p 5436:5432 -p 28086:28080 \
55 -v /sys/fs/cgroup:/sys/fs/cgroup \
56 --privileged=true lhrbest/greenplum:7.3.0 \
57 /usr/sbin/init
58
59
60docker exec -it gpdb7 bash
61su - gpadmin
62gpstart -a
63gpcc start
64
65
66
67
68
69-- 所有环境,模拟生产
70docker rm -f lhrgpdball
71docker run -itd --name lhrgpdball -h lhrgpdball \
72 -p 5433:5432 -p 28180:28080 -p 28181:28081 -p 252:22 -p 23189:3389 \
73 -v /sys/fs/cgroup:/sys/fs/cgroup \
74 --privileged=true lhrbest/greenplum:gpdball_6.25.3 \
75 /usr/sbin/init
76
77docker exec -it lhrgpdball bash
78docker start mdw smdw sdw1 sdw2 sdw3 sdw4
79
80docker exec -it lhrgpdball su - gpadmin
81
82gpstart -a
83gpcc start
84
85gpcc status
86gpstate
其它镜像
1-- Greenplum5 :https://hub.docker.com/r/psavchenko/greenplum-db-5.9.0
2docker run -i -d -p 5432:5432 psavchenko/greenplum-db-5.9.0
3
4账号:gpadmin
5密码:welcome1
6
7
8
9
10-- Greenplum6:https://gitee.com/inrgihc/greenplum_docker
11
12docker run -d -p 5432:5432 inrgihc/greenplum:6.11.1
13docker run -d -p 5432:5432 inrgihc/greenplum:6.16.3
14docker run -d -p 5432:5432 inrgihc/greenplum:6.19.3
15账号:gpadmin
16密码:greenplum
参考
https://www.dbaup.com/zaidockerzhongkuaisutiyangreenplum-6-23-1hegpccjiankonggongju.html
https://www.dbaup.com/zaidockerzhongkuaisutiyangreenplum-7-0-0.html
https://www.dbaup.com/yitiaominglingkuaisuqidonggreenplum.html