原 在Docker中快速使用各个版本的GreenPlum数据库
Tags: 原创GreenPlumDocker快速体验docker镜像小麦苗数据库镜像快速启动
docker镜像地址
https://hub.docker.com/r/lhrbest/greenplum/tags
麦老师的各个版本镜像
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 | docker pull registry.cn-hangzhou.aliyuncs.com/lhrbest/greenplum:gpdball_6.25.3 -- 单机 docker pull lhrbest/greenplum:6.13.0 docker pull lhrbest/greenplum:6.23.1 docker pull lhrbest/greenplum:6.25.3 docker pull lhrbest/greenplum:7.0.0_v2 -- 模拟生产环境,多个主机,带gpcc环境 docker pull lhrbest/greenplum:gpdball_6.25.1 docker pull lhrbest/greenplum:gpdball_6.25.3 -- 单机 docker rm -f gpdb6 docker run -itd --name gpdb6 -h gpdb6 \ -p 5431:5432 -p 28088:28080 \ -v /sys/fs/cgroup:/sys/fs/cgroup \ --privileged=true lhrbest/greenplum:6.25.3 \ /usr/sbin/init docker exec -it gpdb6 bash su - gpadmin gpstart -a gpcc start gpcc status gpstate docker rm -f gpdb7 docker run -itd --name gpdb7 -h gpdb7 \ -p 5436:5432 -p 28086:28080 \ -v /sys/fs/cgroup:/sys/fs/cgroup \ --privileged=true lhrbest/greenplum:7.0.0_v2 \ /usr/sbin/init docker exec -it gpdb7 bash su - gpadmin gpstart -a gpcc start -- 所有环境,模拟生产 docker rm -f lhrgpdball docker run -itd --name lhrgpdball -h lhrgpdball \ -p 5433:5432 -p 28180:28080 -p 28181:28081 -p 252:22 -p 23189:3389 \ -v /sys/fs/cgroup:/sys/fs/cgroup \ --privileged=true lhrbest/greenplum:gpdball_6.25.3 \ /usr/sbin/init docker exec -it lhrgpdball bash docker start mdw smdw sdw1 sdw2 sdw3 sdw4 docker exec -it lhrgpdball su - gpadmin gpstart -a gpcc start gpcc status gpstate |
其它镜像
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | -- Greenplum5 : https://hub.docker.com/r/psavchenko/greenplum-db-5.9.0 docker run -i -d -p 5432:5432 psavchenko/greenplum-db-5.9.0 账号:gpadmin 密码:welcome1 -- Greenplum6:https://gitee.com/inrgihc/greenplum_docker docker run -d -p 5432:5432 inrgihc/greenplum:6.11.1 docker run -d -p 5432:5432 inrgihc/greenplum:6.16.3 docker run -d -p 5432:5432 inrgihc/greenplum:6.19.3 账号:gpadmin 密码:greenplum |