From bed4b8bac2ee5e331d0d0bcff96e499d7b8de3d6 Mon Sep 17 00:00:00 2001 From: Arun Gupta Date: Thu, 8 Jun 2017 17:35:43 -0700 Subject: [PATCH] fix https://github.com/docker/labs/issues/242 --- developer-tools/java/chapters/ch03-build-image.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/developer-tools/java/chapters/ch03-build-image.adoc b/developer-tools/java/chapters/ch03-build-image.adoc index 2fc9b65680..8c4b69df6f 100644 --- a/developer-tools/java/chapters/ch03-build-image.adoc +++ b/developer-tools/java/chapters/ch03-build-image.adoc @@ -257,6 +257,8 @@ b3b0e4> Hello World! This is similar output when running the Java application using `java` CLI or the Docker container using `docker run` command. +The container is running in the foreground. Use `Ctrl` + `C` to interrupt the container and return back to terminal. + Only one change was required in the project to enable Docker packaging and running. A Maven profile is added in `pom.xml`: [source, text]