From 646f36f49c3dd03b18fc77a0c7ed1f4b5ef3cdc7 Mon Sep 17 00:00:00 2001 From: Harry Zhang Date: Thu, 15 Oct 2015 07:31:21 +0000 Subject: [PATCH] Fix wrong tail -f command --- examples/javaweb-tomcat-sidecar/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/javaweb-tomcat-sidecar/README.md b/examples/javaweb-tomcat-sidecar/README.md index eb8d96d817d..2ca8c9b0376 100644 --- a/examples/javaweb-tomcat-sidecar/README.md +++ b/examples/javaweb-tomcat-sidecar/README.md @@ -122,7 +122,7 @@ tail -f /dev/null 1. 'war' container only contains the `war` file of your app 2. 'war' container's CMD tries to copy `sample.war` to the `emptyDir` volume path -3. The last line of `tailf -f` is just used to hold the container, as Replication Controller does not support one-off task +3. The last line of `tail -f` is just used to hold the container, as Replication Controller does not support one-off task 4. 'tomcat' container will load the `sample.war` from volume path What's more, if you don't want to enclose a build-in `mv.sh` script in the `war` container, you can use Pod lifecycle handler to do the copy work, here's a example [javaweb-2.yaml](javaweb-2.yaml):