{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2071","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2071/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2071/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2071/events","html_url":"https://github.com/spring-projects/spring-boot/pull/2071","id":51148310,"number":2071,"title":"Added Docker client autoConfiguration","user":{"login":"hekonsek","id":822903,"avatar_url":"https://avatars.githubusercontent.com/u/822903?v=3","gravatar_id":"","url":"https://api.github.com/users/hekonsek","html_url":"https://github.com/hekonsek","followers_url":"https://api.github.com/users/hekonsek/followers","following_url":"https://api.github.com/users/hekonsek/following{/other_user}","gists_url":"https://api.github.com/users/hekonsek/gists{/gist_id}","starred_url":"https://api.github.com/users/hekonsek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hekonsek/subscriptions","organizations_url":"https://api.github.com/users/hekonsek/orgs","repos_url":"https://api.github.com/users/hekonsek/repos","events_url":"https://api.github.com/users/hekonsek/events{/privacy}","received_events_url":"https://api.github.com/users/hekonsek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/waiting-for-votes","name":"waiting-for-votes","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2014-12-05T21:30:29Z","updated_at":"2015-04-13T07:56:56Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/spring-projects/spring-boot/pulls/2071","html_url":"https://github.com/spring-projects/spring-boot/pull/2071","diff_url":"https://github.com/spring-projects/spring-boot/pull/2071.diff","patch_url":"https://github.com/spring-projects/spring-boot/pull/2071.patch"},"body":"Hi,\r\n\r\nI created autoConfiguration for the docker-java [1] Docker client. In the most common scenario, adding docker-java to the classpath will provide `DockerClient` instance connected to the `$DOCKER_HOST` environment variable:\r\n\r\n    @Autowired\r\n    DockerClient docker;\r\n    ...\r\n    docker.pullImageCmd(\"ubuntu\").exec();\r\n\r\nCheers.\r\n\r\n[1] https://github.com/docker-java/docker-java"},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/92258067","html_url":"https://github.com/spring-projects/spring-boot/pull/2071#issuecomment-92258067","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2071","id":92258067,"user":{"login":"wilkinsona","id":914682,"avatar_url":"https://avatars.githubusercontent.com/u/914682?v=3","gravatar_id":"","url":"https://api.github.com/users/wilkinsona","html_url":"https://github.com/wilkinsona","followers_url":"https://api.github.com/users/wilkinsona/followers","following_url":"https://api.github.com/users/wilkinsona/following{/other_user}","gists_url":"https://api.github.com/users/wilkinsona/gists{/gist_id}","starred_url":"https://api.github.com/users/wilkinsona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilkinsona/subscriptions","organizations_url":"https://api.github.com/users/wilkinsona/orgs","repos_url":"https://api.github.com/users/wilkinsona/repos","events_url":"https://api.github.com/users/wilkinsona/events{/privacy}","received_events_url":"https://api.github.com/users/wilkinsona/received_events","type":"User","site_admin":false},"created_at":"2015-04-13T07:56:56Z","updated_at":"2015-04-13T07:56:56Z","body":"Docker's Java client seems to be evolving quite quickly. 1.0 was released in late February with 1.1 then being released in early April. I think I'd prefer to wait until things have settled down a little, or there's overwhelming demand for the auto-configuration"}}