From 580aa0b8d63d1d6439eabb081e6f75187cc30bde Mon Sep 17 00:00:00 2001 From: Florin B Date: Fri, 11 Nov 2016 14:16:33 -0500 Subject: [PATCH 1/2] fixes the typos in docker Readme.md instructions for build path and the port used in the docker run command example for Ubuntu --- buildmimic/docker/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/buildmimic/docker/README.md b/buildmimic/docker/README.md index 4e34beb..9d8ffe4 100644 --- a/buildmimic/docker/README.md +++ b/buildmimic/docker/README.md @@ -36,7 +36,7 @@ On Linux and MAC systems, a script to automtically to automatically unzip and se is provided in this directory: `unzip_csv.sh`. Run this at a terminal command line by entering the following: - cd /mimic_code/buildmimic/postgres + cd /mimic_code/buildmimic/docker source unzip_csv.sh /HOST/mimic/csv ... where `/HOST/mimic/csv` is the data folder you would like to work in. Remember this folder name for later. @@ -46,7 +46,7 @@ Run this at a terminal command line by entering the following: Assuming Docker is installed on your host, you can build the image by entering the following at a terminal command line (or Docker Quickstart Terminal on Windows): - cd /mimic_code/buildmimic/postgres + cd /mimic_code/buildmimic/docker docker build -t postgres/mimic . Please note the "." at the end is necessary. @@ -120,7 +120,7 @@ Note that on Windows systems, the host paths will need to be prefixed by an extr docker run \ --name mimic \ - -p 5455:5455 \ + -p 5432:5432 \ -e BUILD_MIMIC=1 \ -e POSTGRES_PASSWORD=postgres \ -e MIMIC_PASSWORD=mimic \ From a6780bf5fec32b45b517efb04c8ba7e14686bedc Mon Sep 17 00:00:00 2001 From: Alistair Johnson Date: Fri, 14 Apr 2017 12:15:12 -0400 Subject: [PATCH 2/2] correct example --- buildmimic/docker/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildmimic/docker/README.md b/buildmimic/docker/README.md index 9d8ffe4..f25cb74 100644 --- a/buildmimic/docker/README.md +++ b/buildmimic/docker/README.md @@ -108,7 +108,7 @@ Note that on Windows systems, the host paths will need to be prefixed by an extr docker run \ --name mimic \ - -p 5432:5432 \ + -p 5555:5432 \ -e BUILD_MIMIC=1 \ -e POSTGRES_PASSWORD=postgres \ -e MIMIC_PASSWORD=mimic \ @@ -120,7 +120,7 @@ Note that on Windows systems, the host paths will need to be prefixed by an extr docker run \ --name mimic \ - -p 5432:5432 \ + -p 5555:5432 \ -e BUILD_MIMIC=1 \ -e POSTGRES_PASSWORD=postgres \ -e MIMIC_PASSWORD=mimic \