{"action":"created","issue":{"url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/74","repository_url":"https://api.github.com/repos/jenkinsci/docker-plugin","labels_url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/74/comments","events_url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/74/events","html_url":"https://github.com/jenkinsci/docker-plugin/issues/74","id":39634184,"number":74,"title":"Add support for linked containers","user":{"login":"sethrosenblum","id":2295147,"avatar_url":"https://avatars.githubusercontent.com/u/2295147?v=3","gravatar_id":"","url":"https://api.github.com/users/sethrosenblum","html_url":"https://github.com/sethrosenblum","followers_url":"https://api.github.com/users/sethrosenblum/followers","following_url":"https://api.github.com/users/sethrosenblum/following{/other_user}","gists_url":"https://api.github.com/users/sethrosenblum/gists{/gist_id}","starred_url":"https://api.github.com/users/sethrosenblum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethrosenblum/subscriptions","organizations_url":"https://api.github.com/users/sethrosenblum/orgs","repos_url":"https://api.github.com/users/sethrosenblum/repos","events_url":"https://api.github.com/users/sethrosenblum/events{/privacy}","received_events_url":"https://api.github.com/users/sethrosenblum/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jenkinsci/docker-plugin/labels/feature","name":"feature","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":23,"created_at":"2014-08-06T15:44:32Z","updated_at":"2016-05-25T19:24:00Z","closed_at":null,"body":"The jenkins plugin doesn't currently support linking to other containers.  In the command line, you would run like this:\r\n\r\n`docker run --link othercontainer:alias myimage command`\r\n\r\nThis would need to be added to the HostConfig when starting the container here:\r\n\r\nhttps://github.com/jenkinsci/docker-plugin/blob/d0fe18a53ef24ce1859d7397989d60817b8a9274/src/main/java/com/nirima/jenkins/plugins/docker/DockerTemplate.java#L313"},"comment":{"url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/comments/221679751","html_url":"https://github.com/jenkinsci/docker-plugin/issues/74#issuecomment-221679751","issue_url":"https://api.github.com/repos/jenkinsci/docker-plugin/issues/74","id":221679751,"user":{"login":"rcbop","id":14116059,"avatar_url":"https://avatars.githubusercontent.com/u/14116059?v=3","gravatar_id":"","url":"https://api.github.com/users/rcbop","html_url":"https://github.com/rcbop","followers_url":"https://api.github.com/users/rcbop/followers","following_url":"https://api.github.com/users/rcbop/following{/other_user}","gists_url":"https://api.github.com/users/rcbop/gists{/gist_id}","starred_url":"https://api.github.com/users/rcbop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcbop/subscriptions","organizations_url":"https://api.github.com/users/rcbop/orgs","repos_url":"https://api.github.com/users/rcbop/repos","events_url":"https://api.github.com/users/rcbop/events{/privacy}","received_events_url":"https://api.github.com/users/rcbop/received_events","type":"User","site_admin":false},"created_at":"2016-05-25T19:24:00Z","updated_at":"2016-05-25T19:24:00Z","body":"+1 I'm also in a great need of that feature, I see that **withLinks()** method was implemented in docker-java lib's class CreateContainerCmd.java https://github.com/docker-java/docker-java/blob/master/src/main/java/com/github/dockerjava/api/command/CreateContainerCmd.java should be  easy now right?"}}
{"actor":{"display_login":"rcbop"}}