You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to marathon-framework
Hi All,
"docker run" supports "docker run --ulimit nproc=N"
Is there a way to pass both "ulimit" and its "nproc=N" value via Marathon's POST /v2/apps API?
Thanks.
-Paul
Aaron
unread,
Feb 13, 2016, 1:42:13 PM2/13/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to marathon-framework
You should be able to pass it in the "parameters" subsection of the "container" section.
"parameters" : [
{ "key" : "ulimit", "value" : "nproc=N" }
]
Paul Bell
unread,
Feb 14, 2016, 1:44:06 PM2/14/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to marathon-framework
Can anyone provide some help with this?
Apparently, there's a long history of ulimit unpleasantness with Docker containers. It's ultimate solution appears to be via "docker run --ulimit nproc=N". But I need to be able to convey this via Marathon.
Thanks.
-Paul
Philip Norman
unread,
Feb 15, 2016, 11:07:40 AM2/15/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to marathon-framework
Hi Paul,
Aaron's reply upthread is correct - container.parameters gets passed all the way through to Docker.