{"action":"created","issue":{"url":"https://api.github.com/repos/portainer/portainer/issues/597","repository_url":"https://api.github.com/repos/portainer/portainer","labels_url":"https://api.github.com/repos/portainer/portainer/issues/597/labels{/name}","comments_url":"https://api.github.com/repos/portainer/portainer/issues/597/comments","events_url":"https://api.github.com/repos/portainer/portainer/issues/597/events","html_url":"https://github.com/portainer/portainer/issues/597","id":207230665,"node_id":"MDU6SXNzdWUyMDcyMzA2NjU=","number":597,"title":"[Feature Request] A field to add options for docker run/create","user":{"login":"gianniceresa","id":5395565,"node_id":"MDQ6VXNlcjUzOTU1NjU=","avatar_url":"https://avatars3.githubusercontent.com/u/5395565?v=4","gravatar_id":"","url":"https://api.github.com/users/gianniceresa","html_url":"https://github.com/gianniceresa","followers_url":"https://api.github.com/users/gianniceresa/followers","following_url":"https://api.github.com/users/gianniceresa/following{/other_user}","gists_url":"https://api.github.com/users/gianniceresa/gists{/gist_id}","starred_url":"https://api.github.com/users/gianniceresa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gianniceresa/subscriptions","organizations_url":"https://api.github.com/users/gianniceresa/orgs","repos_url":"https://api.github.com/users/gianniceresa/repos","events_url":"https://api.github.com/users/gianniceresa/events{/privacy}","received_events_url":"https://api.github.com/users/gianniceresa/received_events","type":"User","site_admin":false},"labels":[{"id":454640316,"node_id":"MDU6TGFiZWw0NTQ2NDAzMTY=","url":"https://api.github.com/repos/portainer/portainer/labels/area/container-creation","name":"area/container-creation","color":"fbca04","default":false},{"id":724394217,"node_id":"MDU6TGFiZWw3MjQzOTQyMTc=","url":"https://api.github.com/repos/portainer/portainer/labels/need-review","name":"need-review","color":"d93f0b","default":false},{"id":466488669,"node_id":"MDU6TGFiZWw0NjY0ODg2Njk=","url":"https://api.github.com/repos/portainer/portainer/labels/status/discuss","name":"status/discuss","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":24,"created_at":"2017-02-13T14:18:03Z","updated_at":"2018-09-11T07:12:42Z","closed_at":null,"author_association":"NONE","body":"Docker run/create commands accept a lot of options and each new release of docker add/change/remove some of them.\r\nIt would be useful if in the Portainer UI when creating a new container there would be a \"generic\" options field accepting any number of these specific docker options.\r\nA single field sounds like a smarted approach to me as it doesn't bind Portainer to a given docker version as it would be with independent fields for all the options (also not maintainable on the long term).\r\n\r\nThis change would also need to be implemented in the templates ideally as they pre-fill fields when creating a new container.\r\n\r\nMore specifically I was looking to use the \"--rm\" option and the \"--stop-timeout\" option as many of my containers require more than 10 seconds for a clean shutdown (Oracle tools running inside).\r\n\r\n<img width=\"782\" alt=\"capture\" src=\"https://cloud.githubusercontent.com/assets/5395565/22886589/e0f99f16-f1fe-11e6-972e-3883839b2f3c.PNG\">\r\n"},"comment":{"url":"https://api.github.com/repos/portainer/portainer/issues/comments/420171575","html_url":"https://github.com/portainer/portainer/issues/597#issuecomment-420171575","issue_url":"https://api.github.com/repos/portainer/portainer/issues/597","id":420171575,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMDE3MTU3NQ==","user":{"login":"Helmi","id":175346,"node_id":"MDQ6VXNlcjE3NTM0Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/175346?v=4","gravatar_id":"","url":"https://api.github.com/users/Helmi","html_url":"https://github.com/Helmi","followers_url":"https://api.github.com/users/Helmi/followers","following_url":"https://api.github.com/users/Helmi/following{/other_user}","gists_url":"https://api.github.com/users/Helmi/gists{/gist_id}","starred_url":"https://api.github.com/users/Helmi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Helmi/subscriptions","organizations_url":"https://api.github.com/users/Helmi/orgs","repos_url":"https://api.github.com/users/Helmi/repos","events_url":"https://api.github.com/users/Helmi/events{/privacy}","received_events_url":"https://api.github.com/users/Helmi/received_events","type":"User","site_admin":false},"created_at":"2018-09-11T07:12:42Z","updated_at":"2018-09-11T07:12:42Z","author_association":"NONE","body":"Thanks for the explanation. So what you basically say is that it would work if I just create that container manually in the meanwhile (from the cli). \r\n\r\nI'll add a feature request in addition."}}
{"actor":{"display_login":"Helmi"}}