{"action":"created","issue":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5448","labels_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5448/labels{/name}","comments_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5448/comments","events_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5448/events","html_url":"https://github.com/travis-ci/travis-ci/issues/5448","id":126318446,"number":5448,"title":"docker: unrecognized service","user":{"login":"karlkfi","id":3980984,"avatar_url":"https://avatars.githubusercontent.com/u/3980984?v=3","gravatar_id":"","url":"https://api.github.com/users/karlkfi","html_url":"https://github.com/karlkfi","followers_url":"https://api.github.com/users/karlkfi/followers","following_url":"https://api.github.com/users/karlkfi/following{/other_user}","gists_url":"https://api.github.com/users/karlkfi/gists{/gist_id}","starred_url":"https://api.github.com/users/karlkfi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/karlkfi/subscriptions","organizations_url":"https://api.github.com/users/karlkfi/orgs","repos_url":"https://api.github.com/users/karlkfi/repos","events_url":"https://api.github.com/users/karlkfi/events{/privacy}","received_events_url":"https://api.github.com/users/karlkfi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-01-13T01:25:50Z","updated_at":"2016-01-13T20:15:23Z","closed_at":"2016-01-13T20:15:23Z","body":"Added docker to a travis build on a Kubernetes PR and am now getting:\r\n\r\n```\r\n$ sudo service docker start\r\ndocker: unrecognized service\r\n```\r\n\r\nand later\r\n\r\n```\r\nexec: docker: not found\r\n```\r\n\r\nFull log: https://api.travis-ci.org/jobs/101948276/log.txt?deansi=true\r\n\r\nThe top of the travis config is:\r\n\r\n```\r\nsudo: required\r\n\r\nservices:\r\n  - docker\r\n\r\nlanguage: go\r\n\r\nmatrix:\r\n  include:\r\n    - go: 1.5.2\r\n```\r\n\r\nPotentially related to https://github.com/travis-ci/travis-ci/issues/5444 and https://github.com/travis-ci/travis-ci/issues/5142 which seemed to be caused by some permutations of build images not having docker installed."},"comment":{"url":"https://api.github.com/repos/travis-ci/travis-ci/issues/comments/171420138","html_url":"https://github.com/travis-ci/travis-ci/issues/5448#issuecomment-171420138","issue_url":"https://api.github.com/repos/travis-ci/travis-ci/issues/5448","id":171420138,"user":{"login":"BanzaiMan","id":25666,"avatar_url":"https://avatars.githubusercontent.com/u/25666?v=3","gravatar_id":"","url":"https://api.github.com/users/BanzaiMan","html_url":"https://github.com/BanzaiMan","followers_url":"https://api.github.com/users/BanzaiMan/followers","following_url":"https://api.github.com/users/BanzaiMan/following{/other_user}","gists_url":"https://api.github.com/users/BanzaiMan/gists{/gist_id}","starred_url":"https://api.github.com/users/BanzaiMan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BanzaiMan/subscriptions","organizations_url":"https://api.github.com/users/BanzaiMan/orgs","repos_url":"https://api.github.com/users/BanzaiMan/repos","events_url":"https://api.github.com/users/BanzaiMan/events{/privacy}","received_events_url":"https://api.github.com/users/BanzaiMan/received_events","type":"User","site_admin":false},"created_at":"2016-01-13T20:15:23Z","updated_at":"2016-01-13T20:15:23Z","body":"Cool. As this is the preferred way now (as documented in https://docs.travis-ci.com/user/trusty-ci-environment#tl%3Bdr---Using-Trusty), I am closing this again."}}