{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/29035","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/29035/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/29035/comments","events_url":"https://api.github.com/repos/docker/docker/issues/29035/events","html_url":"https://github.com/docker/docker/issues/29035","id":192922198,"number":29035,"title":"docker 1.13 breaks restart policy: maximum restart count must be a positive integer","user":{"login":"Bekt","id":1221480,"avatar_url":"https://avatars.githubusercontent.com/u/1221480?v=3","gravatar_id":"","url":"https://api.github.com/users/Bekt","html_url":"https://github.com/Bekt","followers_url":"https://api.github.com/users/Bekt/followers","following_url":"https://api.github.com/users/Bekt/following{/other_user}","gists_url":"https://api.github.com/users/Bekt/gists{/gist_id}","starred_url":"https://api.github.com/users/Bekt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bekt/subscriptions","organizations_url":"https://api.github.com/users/Bekt/orgs","repos_url":"https://api.github.com/users/Bekt/repos","events_url":"https://api.github.com/users/Bekt/events{/privacy}","received_events_url":"https://api.github.com/users/Bekt/received_events","type":"User","site_admin":false},"labels":[{"id":73615608,"url":"https://api.github.com/repos/docker/docker/labels/area/api","name":"area/api","color":"fbca04","default":false},{"id":190258329,"url":"https://api.github.com/repos/docker/docker/labels/kind/bug","name":"kind/bug","color":"FF8C94","default":false},{"id":381838255,"url":"https://api.github.com/repos/docker/docker/labels/platform/desktop","name":"platform/desktop","color":"F6FBFF","default":false},{"id":283253906,"url":"https://api.github.com/repos/docker/docker/labels/priority/P1","name":"priority/P1","color":"eb6420","default":false},{"id":480238176,"url":"https://api.github.com/repos/docker/docker/labels/version/1.13","name":"version/1.13","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/56","html_url":"https://github.com/docker/docker/milestones/1.13.0","labels_url":"https://api.github.com/repos/docker/docker/milestones/56/labels","id":1839404,"number":56,"title":"1.13.0","description":"","creator":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"open_issues":111,"closed_issues":1100,"state":"open","created_at":"2016-06-20T22:51:25Z","updated_at":"2016-12-01T22:39:39Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2016-12-01T18:14:53Z","updated_at":"2016-12-01T22:53:00Z","closed_at":null,"body":"**Description**\r\n**Steps to reproduce the issue:**\r\n1. Get docker v1.13 on Docker for Mac\r\n2. `docker run -d --restart=on-failure nginx`\r\n\r\n**Describe the results you received:**\r\n```\r\ndocker: Error response from daemon: maximum restart count must be a positive integer.\r\nSee 'docker run --help'.\r\n```\r\n\r\n**Describe the results you expected:**\r\n* Container is started without a problem.\r\n\r\n**Output of `docker version`:**\r\n\r\n```\r\n$ docker version\r\nClient:\r\n Version:      1.13.0-rc2\r\n API version:  1.25\r\n Go version:   go1.7.3\r\n Git commit:   1f9b3ef\r\n Built:        Wed Nov 23 17:40:58 2016\r\n OS/Arch:      darwin/amd64\r\n\r\nServer:\r\n Version:             1.13.0-rc2\r\n API version:         1.25\r\n Minimum API version: 1.12\r\n Go version:          go1.7.3\r\n Git commit:          1f9b3ef\r\n Built:               Wed Nov 23 17:40:58 2016\r\n OS/Arch:             linux/amd64\r\n Experimental:        true\r\n```\r\n\r\n**Output of `docker info`:**\r\n\r\nhttp://pastebin.com/raw/ckKsKLNh\r\n\r\n**Additional environment details (AWS, VirtualBox, physical, etc.):**\r\n* Docker for Mac\r\n* The same thing works with docker v1.12.\r\n"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/264320768","html_url":"https://github.com/docker/docker/issues/29035#issuecomment-264320768","issue_url":"https://api.github.com/repos/docker/docker/issues/29035","id":264320768,"user":{"login":"aaronlehmann","id":10601430,"avatar_url":"https://avatars.githubusercontent.com/u/10601430?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlehmann","html_url":"https://github.com/aaronlehmann","followers_url":"https://api.github.com/users/aaronlehmann/followers","following_url":"https://api.github.com/users/aaronlehmann/following{/other_user}","gists_url":"https://api.github.com/users/aaronlehmann/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlehmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlehmann/subscriptions","organizations_url":"https://api.github.com/users/aaronlehmann/orgs","repos_url":"https://api.github.com/users/aaronlehmann/repos","events_url":"https://api.github.com/users/aaronlehmann/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlehmann/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T22:53:00Z","updated_at":"2016-12-01T22:53:00Z","body":"Yes, it's tricky in general.\r\n\r\n-1 or unset would be slightly more obvious to me for \"unlimited\".\r\n\r\nI don't want to derail this discussion, though."}}
{"actor":{"display_login":"aaronlehmann"}}