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>
Upstream-commit: 135fb7a665
Component: cli
This commit is contained in:
Kai Qiang Wu(Kennan)
2016-01-19 07:44:48 +00:00
committed by Tibor Vass
parent f2921f48fb
commit bcf3fbd598

View File

@ -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:**