소스 검색

Merge pull request #19437 from HackToday/fixulimit

Fix ulimit command form
Vincent Demeester 9 년 전
부모
커밋
05e36d254f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      docs/reference/commandline/run.md

+ 1 - 1
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:**