{"action":"opened","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18108","labels_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18108/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18108/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes/issues/18108/events","html_url":"https://github.com/kubernetes/kubernetes/issues/18108","id":120049847,"number":18108,"title":"Do we expose docker run --ulimit options to work in Kubernetes","user":{"login":"derekwaynecarr","id":6233452,"avatar_url":"https://avatars.githubusercontent.com/u/6233452?v=3","gravatar_id":"","url":"https://api.github.com/users/derekwaynecarr","html_url":"https://github.com/derekwaynecarr","followers_url":"https://api.github.com/users/derekwaynecarr/followers","following_url":"https://api.github.com/users/derekwaynecarr/following{/other_user}","gists_url":"https://api.github.com/users/derekwaynecarr/gists{/gist_id}","starred_url":"https://api.github.com/users/derekwaynecarr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derekwaynecarr/subscriptions","organizations_url":"https://api.github.com/users/derekwaynecarr/orgs","repos_url":"https://api.github.com/users/derekwaynecarr/repos","events_url":"https://api.github.com/users/derekwaynecarr/events{/privacy}","received_events_url":"https://api.github.com/users/derekwaynecarr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-02T22:25:53Z","updated_at":"2015-12-02T22:25:53Z","closed_at":null,"body":"I have been asked this same question multiple times this week, so raising it now as an issue.\r\n\r\nIf so, which ones?\r\n\r\nI think we need to make a statement of direction here.  \r\n\r\n```shell\r\n$ docker run -it busybox\r\n/ # cat /proc/self/limits\r\nLimit                     Soft Limit           Hard Limit           Units     \r\nMax cpu time              unlimited            unlimited            seconds   \r\nMax file size             unlimited            unlimited            bytes     \r\nMax data size             unlimited            unlimited            bytes     \r\nMax stack size            8388608              unlimited            bytes     \r\nMax core file size        unlimited            unlimited            bytes     \r\nMax resident set          unlimited            unlimited            bytes     \r\nMax processes             1048576              1048576              processes \r\nMax open files            1048576              1048576              files     \r\nMax locked memory         65536                65536                bytes     \r\nMax address space         unlimited            unlimited            bytes     \r\nMax file locks            unlimited            unlimited            locks     \r\nMax pending signals       46745                46745                signals   \r\nMax msgqueue size         819200               819200               bytes     \r\nMax nice priority         0                    0                    \r\nMax realtime priority     0                    0                    \r\nMax realtime timeout      unlimited            unlimited            us        \r\n```\r\n\r\nBut I can then do this:\r\n\r\n```shell\r\n$ docker run -it --ulimit nofile=8000:10000 busybox\r\n/ # cat /proc/self/limits\r\nLimit                     Soft Limit           Hard Limit           Units     \r\nMax cpu time              unlimited            unlimited            seconds   \r\nMax file size             unlimited            unlimited            bytes     \r\nMax data size             unlimited            unlimited            bytes     \r\nMax stack size            8388608              unlimited            bytes     \r\nMax core file size        unlimited            unlimited            bytes     \r\nMax resident set          unlimited            unlimited            bytes     \r\nMax processes             1048576              1048576              processes \r\nMax open files            8000                 10000                files     \r\nMax locked memory         65536                65536                bytes     \r\nMax address space         unlimited            unlimited            bytes     \r\nMax file locks            unlimited            unlimited            locks     \r\nMax pending signals       46745                46745                signals   \r\nMax msgqueue size         819200               819200               bytes     \r\nMax nice priority         0                    0                    \r\nMax realtime priority     0                    0                    \r\nMax realtime timeout      unlimited            unlimited            us        \r\n/ # \r\n```\r\n\r\n/cc @smarterclayton @bgrant0607 @bparees @kubernetes/rh-cluster-infra  @kubernetes/goog-node "}}