{"action":"created","issue":{"url":"https://api.github.com/repos/moby/moby/issues/1905","repository_url":"https://api.github.com/repos/moby/moby","labels_url":"https://api.github.com/repos/moby/moby/issues/1905/labels{/name}","comments_url":"https://api.github.com/repos/moby/moby/issues/1905/comments","events_url":"https://api.github.com/repos/moby/moby/issues/1905/events","html_url":"https://github.com/moby/moby/issues/1905","id":19622453,"node_id":"MDU6SXNzdWUxOTYyMjQ1Mw==","number":1905,"title":"Add timeout option to docker run","user":{"login":"benbro","id":75841,"node_id":"MDQ6VXNlcjc1ODQx","avatar_url":"https://avatars2.githubusercontent.com/u/75841?v=4","gravatar_id":"","url":"https://api.github.com/users/benbro","html_url":"https://github.com/benbro","followers_url":"https://api.github.com/users/benbro/followers","following_url":"https://api.github.com/users/benbro/following{/other_user}","gists_url":"https://api.github.com/users/benbro/gists{/gist_id}","starred_url":"https://api.github.com/users/benbro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benbro/subscriptions","organizations_url":"https://api.github.com/users/benbro/orgs","repos_url":"https://api.github.com/users/benbro/repos","events_url":"https://api.github.com/users/benbro/events{/privacy}","received_events_url":"https://api.github.com/users/benbro/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":55,"created_at":"2013-09-17T15:42:36Z","updated_at":"2018-08-31T13:40:17Z","closed_at":"2013-11-27T20:11:48Z","author_association":"NONE","body":"This is a feature request to add a timeout option when calling the docker run command.\nThe option called be -to=5000 (5000 ms).\n\nI'm using docker to run untrusted student code in a container (C, Python...).\nIt will be useful to be able to set a timeout to limit how much time the container is allowed to run before it docker stops it.\n\nThanks\n"},"comment":{"url":"https://api.github.com/repos/moby/moby/issues/comments/417667386","html_url":"https://github.com/moby/moby/issues/1905#issuecomment-417667386","issue_url":"https://api.github.com/repos/moby/moby/issues/1905","id":417667386,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzY2NzM4Ng==","user":{"login":"chrisgavin","id":5584439,"node_id":"MDQ6VXNlcjU1ODQ0Mzk=","avatar_url":"https://avatars3.githubusercontent.com/u/5584439?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisgavin","html_url":"https://github.com/chrisgavin","followers_url":"https://api.github.com/users/chrisgavin/followers","following_url":"https://api.github.com/users/chrisgavin/following{/other_user}","gists_url":"https://api.github.com/users/chrisgavin/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisgavin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisgavin/subscriptions","organizations_url":"https://api.github.com/users/chrisgavin/orgs","repos_url":"https://api.github.com/users/chrisgavin/repos","events_url":"https://api.github.com/users/chrisgavin/events{/privacy}","received_events_url":"https://api.github.com/users/chrisgavin/received_events","type":"User","site_admin":false},"created_at":"2018-08-31T13:40:17Z","updated_at":"2018-08-31T13:40:17Z","author_association":"CONTRIBUTOR","body":"@hifall That doesn't look relevant to me. It doesn't limit the time a container can run for, it just limits how long the container has to stop gracefully when it gets stopped."}}
{"actor":{"display_login":"chrisgavin"}}