{"action":"created","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/1155","labels_url":"https://api.github.com/repos/docker/swarm/issues/1155/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/1155/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/1155/events","html_url":"https://github.com/docker/swarm/pull/1155","id":101360948,"number":1155,"title":"prevent double logs with mesos","user":{"login":"vieux","id":1032519,"avatar_url":"https://avatars.githubusercontent.com/u/1032519?v=3","gravatar_id":"","url":"https://api.github.com/users/vieux","html_url":"https://github.com/vieux","followers_url":"https://api.github.com/users/vieux/followers","following_url":"https://api.github.com/users/vieux/following{/other_user}","gists_url":"https://api.github.com/users/vieux/gists{/gist_id}","starred_url":"https://api.github.com/users/vieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vieux/subscriptions","organizations_url":"https://api.github.com/users/vieux/orgs","repos_url":"https://api.github.com/users/vieux/repos","events_url":"https://api.github.com/users/vieux/events{/privacy}","received_events_url":"https://api.github.com/users/vieux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/swarm/labels/area/mesos","name":"area/mesos","color":"fbca04"},{"url":"https://api.github.com/repos/docker/swarm/labels/status/1-design-review","name":"status/1-design-review","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-17T07:48:52Z","updated_at":"2015-09-03T18:58:46Z","closed_at":"2015-09-03T06:10:52Z","pull_request":{"url":"https://api.github.com/repos/docker/swarm/pulls/1155","html_url":"https://github.com/docker/swarm/pull/1155","diff_url":"https://github.com/docker/swarm/pull/1155.diff","patch_url":"https://github.com/docker/swarm/pull/1155.patch"},"body":"`/create` with with Mesos backend will also start the container.\r\n\r\nWhen you do a `docker run` the cli is doing `/create` and `/start`\r\nFor short lived containers, like `busybox ls` it's an issue because it will start the container another time.\r\nYou will see 2 `ls` in the logs\r\n\r\nWith this PR the start is handled by the cluster, it's not proxied anymore. So the mesos backend can choose to no start the container.\r\n"},"comment":{"url":"https://api.github.com/repos/docker/swarm/issues/comments/137542470","html_url":"https://github.com/docker/swarm/pull/1155#issuecomment-137542470","issue_url":"https://api.github.com/repos/docker/swarm/issues/1155","id":137542470,"user":{"login":"vieux","id":1032519,"avatar_url":"https://avatars.githubusercontent.com/u/1032519?v=3","gravatar_id":"","url":"https://api.github.com/users/vieux","html_url":"https://github.com/vieux","followers_url":"https://api.github.com/users/vieux/followers","following_url":"https://api.github.com/users/vieux/following{/other_user}","gists_url":"https://api.github.com/users/vieux/gists{/gist_id}","starred_url":"https://api.github.com/users/vieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vieux/subscriptions","organizations_url":"https://api.github.com/users/vieux/orgs","repos_url":"https://api.github.com/users/vieux/repos","events_url":"https://api.github.com/users/vieux/events{/privacy}","received_events_url":"https://api.github.com/users/vieux/received_events","type":"User","site_admin":false},"created_at":"2015-09-03T18:58:46Z","updated_at":"2015-09-03T18:58:46Z","body":"It's my fault but we shouldn't have merge this one, there is a bug in it, that's why `mesos - docker run short lived` never ends."}}