From 98e5a8efcc390d2b5de18049e3227db7a257c232 Mon Sep 17 00:00:00 2001
From: "Kai Qiang Wu(Kennan)" <wkqwu@cn.ibm.com>
Date: Tue, 19 Jan 2016 07:44:48 +0000
Subject: [PATCH] Fix ulimit command form

The ulimit is builtin, so we need shell form to execute it.

Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
---
 docs/reference/commandline/run.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/reference/commandline/run.md b/docs/reference/commandline/run.md
index a36bbfb96a..b26b7848e1 100644
--- a/docs/reference/commandline/run.md
+++ b/docs/reference/commandline/run.md
@@ -539,7 +539,7 @@ available in the default container, you can set these using the `--ulimit` flag.
 `--ulimit` is specified with a soft and hard limit as such:
 `<type>=<soft limit>[:<hard limit>]`, for example:
 
-    $ docker run --ulimit nofile=1024:1024 --rm debian ulimit -n
+    $ docker run --ulimit nofile=1024:1024 --rm debian sh -c "ulimit -n"
     1024
 
 > **Note:**