mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
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>
This commit is contained in:
parent
b6be645197
commit
98e5a8efcc
1 changed files with 1 additions and 1 deletions
|
@ -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:**
|
||||
|
|
Loading…
Reference in a new issue