{"action":"created","issue":{"url":"https://api.github.com/repos/docker/compose/issues/3076","repository_url":"https://api.github.com/repos/docker/compose","labels_url":"https://api.github.com/repos/docker/compose/issues/3076/labels{/name}","comments_url":"https://api.github.com/repos/docker/compose/issues/3076/comments","events_url":"https://api.github.com/repos/docker/compose/issues/3076/events","html_url":"https://github.com/docker/compose/pull/3076","id":138340506,"number":3076,"title":"Improve document for setup docker-compose","user":{"login":"guessi","id":984415,"avatar_url":"https://avatars.githubusercontent.com/u/984415?v=3","gravatar_id":"","url":"https://api.github.com/users/guessi","html_url":"https://github.com/guessi","followers_url":"https://api.github.com/users/guessi/followers","following_url":"https://api.github.com/users/guessi/following{/other_user}","gists_url":"https://api.github.com/users/guessi/gists{/gist_id}","starred_url":"https://api.github.com/users/guessi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guessi/subscriptions","organizations_url":"https://api.github.com/users/guessi/orgs","repos_url":"https://api.github.com/users/guessi/repos","events_url":"https://api.github.com/users/guessi/events{/privacy}","received_events_url":"https://api.github.com/users/guessi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/compose/labels/kind/docs","name":"kind/docs","color":"fbca04"},{"url":"https://api.github.com/repos/docker/compose/labels/status/3-docs-review","name":"status/3-docs-review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-04T00:39:03Z","updated_at":"2016-03-04T03:39:31Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/compose/pulls/3076","html_url":"https://github.com/docker/compose/pull/3076","diff_url":"https://github.com/docker/compose/pull/3076.diff","patch_url":"https://github.com/docker/compose/pull/3076.patch"},"body":"  try to improve #3061 and #3069\r\n\r\n  #3061:\r\n    curl + chmod + mv, does not ensure it's ownership\r\n    the ownership of could be the user who execute the `curl` command\r\n\r\n  #3069:\r\n    it should be avoid to use `sudo -i` or `su` in setup guide,\r\n    it's easily to forget to switch back to normal user\r\n\r\n  additional change,\r\n\r\n    `rm` need `--force` or `-f` in case of target not exist\r\n\r\nSigned-off-by: guessi <guessi@gmail.com>"},"comment":{"url":"https://api.github.com/repos/docker/compose/issues/comments/192082391","html_url":"https://github.com/docker/compose/pull/3076#issuecomment-192082391","issue_url":"https://api.github.com/repos/docker/compose/issues/3076","id":192082391,"user":{"login":"JLarky","id":7026,"avatar_url":"https://avatars.githubusercontent.com/u/7026?v=3","gravatar_id":"","url":"https://api.github.com/users/JLarky","html_url":"https://github.com/JLarky","followers_url":"https://api.github.com/users/JLarky/followers","following_url":"https://api.github.com/users/JLarky/following{/other_user}","gists_url":"https://api.github.com/users/JLarky/gists{/gist_id}","starred_url":"https://api.github.com/users/JLarky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JLarky/subscriptions","organizations_url":"https://api.github.com/users/JLarky/orgs","repos_url":"https://api.github.com/users/JLarky/repos","events_url":"https://api.github.com/users/JLarky/events{/privacy}","received_events_url":"https://api.github.com/users/JLarky/received_events","type":"User","site_admin":false},"created_at":"2016-03-04T03:39:31Z","updated_at":"2016-03-04T03:39:31Z","body":"        sudo su -c 'curl -L https://github.com/docker/compose/releases/download/1.6.2/docker-compose-`uname -s`-`uname -m` > /usr/local/bin/docker-compose'\r\n\r\n@guessi please replace by\r\n\r\n        sudo curl -L https://github.com/docker/compose/releases/download/1.6.2/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose"}}