{"action":"created","issue":{"url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/195","labels_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/195/comments","events_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/195/events","html_url":"https://github.com/rhuss/docker-maven-plugin/issues/195","id":88436828,"number":195,"title":"allow linking to containers not managed by the plugin","user":{"login":"jgangemi","id":1831839,"avatar_url":"https://avatars.githubusercontent.com/u/1831839?v=3","gravatar_id":"","url":"https://api.github.com/users/jgangemi","html_url":"https://github.com/jgangemi","followers_url":"https://api.github.com/users/jgangemi/followers","following_url":"https://api.github.com/users/jgangemi/following{/other_user}","gists_url":"https://api.github.com/users/jgangemi/gists{/gist_id}","starred_url":"https://api.github.com/users/jgangemi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgangemi/subscriptions","organizations_url":"https://api.github.com/users/jgangemi/orgs","repos_url":"https://api.github.com/users/jgangemi/repos","events_url":"https://api.github.com/users/jgangemi/events{/privacy}","received_events_url":"https://api.github.com/users/jgangemi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rhuss/docker-maven-plugin/labels/bug","name":"bug","color":"f7c6c7"}],"state":"open","locked":false,"assignee":{"login":"jgangemi","id":1831839,"avatar_url":"https://avatars.githubusercontent.com/u/1831839?v=3","gravatar_id":"","url":"https://api.github.com/users/jgangemi","html_url":"https://github.com/jgangemi","followers_url":"https://api.github.com/users/jgangemi/followers","following_url":"https://api.github.com/users/jgangemi/following{/other_user}","gists_url":"https://api.github.com/users/jgangemi/gists{/gist_id}","starred_url":"https://api.github.com/users/jgangemi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgangemi/subscriptions","organizations_url":"https://api.github.com/users/jgangemi/orgs","repos_url":"https://api.github.com/users/jgangemi/repos","events_url":"https://api.github.com/users/jgangemi/events{/privacy}","received_events_url":"https://api.github.com/users/jgangemi/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-06-15T14:04:21Z","updated_at":"2015-06-15T15:18:34Z","closed_at":null,"body":"i thought i had seen an issue regarding this before, but perhaps it was for referencing volumes from other containers.\r\n\r\nin any case, when starting a container via the plugin, i'd like to be able to link to an existing container that has been started via some other mechanism.\r\n\r\nin an effort not to break existing configuration, my thought is to just add a new xml block to the run section:\r\n```xml\r\n<linkExternal>\r\n  <link>container_name:env_var_prefix</link>\r\n</linkExternal>\r\n```\r\nthoughts? i'm open to different element names, etc.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/comments/112104355","html_url":"https://github.com/rhuss/docker-maven-plugin/issues/195#issuecomment-112104355","issue_url":"https://api.github.com/repos/rhuss/docker-maven-plugin/issues/195","id":112104355,"user":{"login":"rhuss","id":99080,"avatar_url":"https://avatars.githubusercontent.com/u/99080?v=3","gravatar_id":"","url":"https://api.github.com/users/rhuss","html_url":"https://github.com/rhuss","followers_url":"https://api.github.com/users/rhuss/followers","following_url":"https://api.github.com/users/rhuss/following{/other_user}","gists_url":"https://api.github.com/users/rhuss/gists{/gist_id}","starred_url":"https://api.github.com/users/rhuss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhuss/subscriptions","organizations_url":"https://api.github.com/users/rhuss/orgs","repos_url":"https://api.github.com/users/rhuss/repos","events_url":"https://api.github.com/users/rhuss/events{/privacy}","received_events_url":"https://api.github.com/users/rhuss/received_events","type":"User","site_admin":false},"created_at":"2015-06-15T15:18:34Z","updated_at":"2015-06-15T15:18:34Z","body":"Yeah, you are right. Personally I think we shouldn't clutter the configuration namesspace to much, so I'm against having new tags without a super good reason ;-)\r\n\r\nMaybe we can really be that smart to (a) first check whether it's an internal container (that we already do) and if not (b) check if another container with this name is running and than use that one. If neither (a) nor (b) then --> error. \r\n\r\nWhat do you think ?"}}