{"action":"created","issue":{"url":"https://api.github.com/repos/ansible/ansible/issues/43337","repository_url":"https://api.github.com/repos/ansible/ansible","labels_url":"https://api.github.com/repos/ansible/ansible/issues/43337/labels{/name}","comments_url":"https://api.github.com/repos/ansible/ansible/issues/43337/comments","events_url":"https://api.github.com/repos/ansible/ansible/issues/43337/events","html_url":"https://github.com/ansible/ansible/issues/43337","id":345052304,"node_id":"MDU6SXNzdWUzNDUwNTIzMDQ=","number":43337,"title":"support for pids_limit parameter in docker_container module","user":{"login":"archmangler","id":3898404,"node_id":"MDQ6VXNlcjM4OTg0MDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/3898404?v=4","gravatar_id":"","url":"https://api.github.com/users/archmangler","html_url":"https://github.com/archmangler","followers_url":"https://api.github.com/users/archmangler/followers","following_url":"https://api.github.com/users/archmangler/following{/other_user}","gists_url":"https://api.github.com/users/archmangler/gists{/gist_id}","starred_url":"https://api.github.com/users/archmangler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archmangler/subscriptions","organizations_url":"https://api.github.com/users/archmangler/orgs","repos_url":"https://api.github.com/users/archmangler/repos","events_url":"https://api.github.com/users/archmangler/events{/privacy}","received_events_url":"https://api.github.com/users/archmangler/received_events","type":"User","site_admin":false},"labels":[{"id":562292166,"node_id":"MDU6TGFiZWw1NjIyOTIxNjY=","url":"https://api.github.com/repos/ansible/ansible/labels/affects_2.4","name":"affects_2.4","color":"ededed","default":false},{"id":61528803,"node_id":"MDU6TGFiZWw2MTUyODgwMw==","url":"https://api.github.com/repos/ansible/ansible/labels/cloud","name":"cloud","color":"c7def8","default":false},{"id":500715204,"node_id":"MDU6TGFiZWw1MDA3MTUyMDQ=","url":"https://api.github.com/repos/ansible/ansible/labels/docker","name":"docker","color":"c5def5","default":false},{"id":852590921,"node_id":"MDU6TGFiZWw4NTI1OTA5MjE=","url":"https://api.github.com/repos/ansible/ansible/labels/feature","name":"feature","color":"006b75","default":false},{"id":496359346,"node_id":"MDU6TGFiZWw0OTYzNTkzNDY=","url":"https://api.github.com/repos/ansible/ansible/labels/module","name":"module","color":"1d76db","default":false},{"id":636327968,"node_id":"MDU6TGFiZWw2MzYzMjc5Njg=","url":"https://api.github.com/repos/ansible/ansible/labels/support:community","name":"support:community","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-07-27T00:45:18Z","updated_at":"2018-11-28T17:18:48Z","closed_at":null,"author_association":"NONE","body":"<!---\r\nVerify first that your issue/request is not already reported on GitHub.\r\nTHIS FORM WILL BE READ BY A MACHINE, COMPLETE ALL SECTIONS AS DESCRIBED.\r\nAlso test if the latest release, and devel branch are affected too.\r\nALWAYS add information AFTER (OUTSIDE) these html comments.\r\nOtherwise it may end up being automatically closed by our bot. -->\r\n\r\n##### SUMMARY\r\n<!--- Explain the problem briefly -->\r\n\r\nIt appears ansible's docker_container module does not support the --pids-limit parameter.\r\nWithout pids-limit there does not appear to be a way to configure the limit of concurrent pids for a running container (example use-case: this is a requirement for the CIS docker benchmark for security hardening)\r\n\"pid_mode\" does not appear to provide this functionality (if it, in fact does, it seems to be poorly documented, and quite limited).\r\n\r\n##### ISSUE TYPE\r\n<!--- Pick one below and delete the rest -->\r\n - Feature Idea\r\n \r\n##### COMPONENT NAME\r\n<!--- Insert, BELOW THIS COMMENT, the name of the module, plugin, task or feature.\r\nDo not include extra details here, e.g. \"vyos_command\" not \"the network module vyos_command\" or the full path-->\r\ndocker_container\r\n##### ANSIBLE VERSION\r\n<!--- Paste, BELOW THIS COMMENT, verbatim output from \"ansible --version\" between quotes below -->\r\n```\r\nansible 2.4.0\r\n```\r\n\r\n##### CONFIGURATION\r\n<!--- If using Ansible 2.4 or above, paste, BELOW THIS COMMENT, the results of \"ansible-config dump --only-changed\"\r\nOtherwise, mention any settings you have changed/added/removed in ansible.cfg\r\n(or using the ANSIBLE_* environment variables).-->\r\nDEFAULT_HOST_LIST(/Users/moi/.ansible.cfg) = [u'/Users/moi/hosts']\r\nDEFAULT_REMOTE_USER(/Users/moi/.ansible.cfg) = twelcome \r\nDEFAULT_VAULT_PASSWORD_FILE(/Users/moi/.ansible.cfg) = /Users/moi/passwords\r\nHOST_KEY_CHECKING(/Users/moi/.ansible.cfg) = False\r\n##### OS / ENVIRONMENT\r\n<!--- Mention, BELOW THIS COMMENT, the OS you are running Ansible from, and the OS you are\r\nmanaging, or say \"N/A\" for anything that is not platform-specific.\r\nAlso mention the specific version of what you are trying to control,\r\ne.g. if this is a network bug the version of firmware on the network device.-->\r\nN/A\r\n##### STEPS TO REPRODUCE\r\n<!--- For bugs, show exactly how to reproduce the problem, using a minimal test-case.\r\nFor new features, show how the feature would be used. -->\r\n\r\n<!--- Paste example playbooks or commands between quotes below -->\r\n```yaml\r\n\r\n```\r\n\r\n<!--- You can also paste gist.github.com links for larger files -->\r\n\r\n##### EXPECTED RESULTS\r\n<!--- What did you expect to happen when running the steps above? -->\r\n\r\n##### ACTUAL RESULTS\r\n<!--- What actually happened? If possible run with extra verbosity (-vvvv) -->\r\n\r\n<!--- Paste verbatim command output between quotes below -->\r\n```\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/ansible/ansible/issues/comments/442529919","html_url":"https://github.com/ansible/ansible/issues/43337#issuecomment-442529919","issue_url":"https://api.github.com/repos/ansible/ansible/issues/43337","id":442529919,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjUyOTkxOQ==","user":{"login":"akshay196","id":16691314,"node_id":"MDQ6VXNlcjE2NjkxMzE0","avatar_url":"https://avatars2.githubusercontent.com/u/16691314?v=4","gravatar_id":"","url":"https://api.github.com/users/akshay196","html_url":"https://github.com/akshay196","followers_url":"https://api.github.com/users/akshay196/followers","following_url":"https://api.github.com/users/akshay196/following{/other_user}","gists_url":"https://api.github.com/users/akshay196/gists{/gist_id}","starred_url":"https://api.github.com/users/akshay196/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/akshay196/subscriptions","organizations_url":"https://api.github.com/users/akshay196/orgs","repos_url":"https://api.github.com/users/akshay196/repos","events_url":"https://api.github.com/users/akshay196/events{/privacy}","received_events_url":"https://api.github.com/users/akshay196/received_events","type":"User","site_admin":false},"created_at":"2018-11-28T17:18:48Z","updated_at":"2018-11-28T17:18:48Z","author_association":"CONTRIBUTOR","body":"I would like to work on this issue. I will submit PR when I am done."}}
{"actor":{"display_login":"akshay196"}}