1
0
mirror of https://github.com/kongyew/greenplum-oss-docker synced 2020-06-03 18:44:52 +00:00
greenplum-oss-docker/usecase1/run_docker.sh
2018-05-05 17:31:03 -07:00

20 lines
483 B
Bash
Executable File

#!/bin/bash
# Including configurations
. config.sh
docker run -it --hostname=postgres8.3 \
--name postgres8.3 \
--privileged \
--publish 5432:5432 \
--publish 88:22 \
--volume ${VOLUME}:/code \
${DOCKER_POSTGRES8.3_TAG} bin/bash
docker run -it --hostname=postgres9.6 \
--name postgres9.6 \
--privileged \
--publish 5432:5432 \
--publish 88:22 \
--volume ${VOLUME}:/code \
${DOCKER_POSTGRES9.6_TAG} bin/bash