From 57fdb80df535847a1b7e82b1708d35441dd8a21f Mon Sep 17 00:00:00 2001 From: Martin D'Souza Date: Fri, 26 Oct 2018 10:07:25 -0600 Subject: [PATCH 1/2] minor: set retries to 10 for healthcheck --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8ec1217..cd702f2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,7 +33,7 @@ EXPOSE 1521 5500 VOLUME [ "${ORACLE_BASE}/oradata" ] -HEALTHCHECK --interval=1m --start-period=2m --retries=8 \ +HEALTHCHECK --interval=1m --start-period=2m --retries=10 \ CMD "$ORACLE_BASE/scripts/$CHECK_DB_FILE" CMD exec ${ORACLE_BASE}/scripts/${RUN_FILE} \ No newline at end of file From df2f51fc6b53f7b93b04d3b2add246386058f9b7 Mon Sep 17 00:00:00 2001 From: Martin D'Souza Date: Fri, 26 Oct 2018 10:08:49 -0600 Subject: [PATCH 2/2] minor: documentation --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index cd10cb8..4bfa331 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,7 @@ docker logs oracle-xe-seed # Once the Database is fully configured (you'll see a message like:) # "The following output is now a tail of the alert.log:" +# Running docker ps oracle-xe-seed should also show status "(healthy)' # Copy the oradata files tso a location (ex: ~/docker/oracle-xe) # Note you'll probably want to store this in a shared NAS etc docker cp oracle-xe-seed:/opt/oracle/oradata ~/docker/oracle-xe-seed