{"action":"created","issue":{"url":"https://api.github.com/repos/weaveworks/weave/issues/1602","labels_url":"https://api.github.com/repos/weaveworks/weave/issues/1602/labels{/name}","comments_url":"https://api.github.com/repos/weaveworks/weave/issues/1602/comments","events_url":"https://api.github.com/repos/weaveworks/weave/issues/1602/events","html_url":"https://github.com/weaveworks/weave/issues/1602","id":113893624,"number":1602,"title":"Remote API attach/ws (websocket)","user":{"login":"baopx","id":12614649,"avatar_url":"https://avatars.githubusercontent.com/u/12614649?v=3","gravatar_id":"","url":"https://api.github.com/users/baopx","html_url":"https://github.com/baopx","followers_url":"https://api.github.com/users/baopx/followers","following_url":"https://api.github.com/users/baopx/following{/other_user}","gists_url":"https://api.github.com/users/baopx/gists{/gist_id}","starred_url":"https://api.github.com/users/baopx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baopx/subscriptions","organizations_url":"https://api.github.com/users/baopx/orgs","repos_url":"https://api.github.com/users/baopx/repos","events_url":"https://api.github.com/users/baopx/events{/privacy}","received_events_url":"https://api.github.com/users/baopx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/weaveworks/weave/labels/feature","name":"feature","color":"009800"},{"url":"https://api.github.com/repos/weaveworks/weave/labels/[component/proxy]","name":"[component/proxy]","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-28T18:42:40Z","updated_at":"2015-10-28T19:38:18Z","closed_at":null,"body":"Trying to get https://docs.docker.com/reference/api/docker_remote_api_v1.17/#attach-to-a-container-websocket to work for console access from UI.\r\n\r\nWe are trying to implement console from UI, which uses websocket.  The flow is:\r\n\r\nWeb browser <--> Portworx <-->  weave <--> docker\r\n\r\n<--> is a web socket connection.  We are able to get this to work:\r\n\r\nWeb browser <--> Portworx (using gorrilla websocket) <--> docker\r\n\r\nLooking at weave code, the Interceptor implements stream and chunk.  We can add a websocket there.  Happy to share the code.."},"comment":{"url":"https://api.github.com/repos/weaveworks/weave/issues/comments/151967510","html_url":"https://github.com/weaveworks/weave/issues/1602#issuecomment-151967510","issue_url":"https://api.github.com/repos/weaveworks/weave/issues/1602","id":151967510,"user":{"login":"rade","id":109109,"avatar_url":"https://avatars.githubusercontent.com/u/109109?v=3","gravatar_id":"","url":"https://api.github.com/users/rade","html_url":"https://github.com/rade","followers_url":"https://api.github.com/users/rade/followers","following_url":"https://api.github.com/users/rade/following{/other_user}","gists_url":"https://api.github.com/users/rade/gists{/gist_id}","starred_url":"https://api.github.com/users/rade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rade/subscriptions","organizations_url":"https://api.github.com/users/rade/orgs","repos_url":"https://api.github.com/users/rade/repos","events_url":"https://api.github.com/users/rade/events{/privacy}","received_events_url":"https://api.github.com/users/rade/received_events","type":"User","site_admin":false},"created_at":"2015-10-28T19:38:18Z","updated_at":"2015-10-28T19:38:18Z","body":"> Happy to share the code\r\n\r\nExcellent. A pull request would be most welcome!"}}