Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--containers/org.eclipse.linuxtools.docker.editor/assets/additional-info/HEALTHCHECK.html7
-rw-r--r--containers/org.eclipse.linuxtools.docker.editor/assets/instructions.txt1
2 files changed, 8 insertions, 0 deletions
diff --git a/containers/org.eclipse.linuxtools.docker.editor/assets/additional-info/HEALTHCHECK.html b/containers/org.eclipse.linuxtools.docker.editor/assets/additional-info/HEALTHCHECK.html
new file mode 100644
index 0000000000..1efe13f2cc
--- /dev/null
+++ b/containers/org.eclipse.linuxtools.docker.editor/assets/additional-info/HEALTHCHECK.html
@@ -0,0 +1,7 @@
+<p>
+Specify the <b>HEALTHCHECK</b> of the Docker image.
+</p>
+<br/>
+<p>
+HEALTHCHECK --timeout=3s CMD curl -f http://localhost/ || exit 1
+</p>
diff --git a/containers/org.eclipse.linuxtools.docker.editor/assets/instructions.txt b/containers/org.eclipse.linuxtools.docker.editor/assets/instructions.txt
index bc039a8039..98ae16e535 100644
--- a/containers/org.eclipse.linuxtools.docker.editor/assets/instructions.txt
+++ b/containers/org.eclipse.linuxtools.docker.editor/assets/instructions.txt
@@ -6,6 +6,7 @@ ENTRYPOINT
ENV
EXPOSE
FROM
+HEALTHCHECK
LABEL
MAINTAINER
ONBUILD

Back to the top