{"action":"opened","issue":{"url":"https://api.github.com/repos/UCL-INGI/INGInious/issues/134","repository_url":"https://api.github.com/repos/UCL-INGI/INGInious","labels_url":"https://api.github.com/repos/UCL-INGI/INGInious/issues/134/labels{/name}","comments_url":"https://api.github.com/repos/UCL-INGI/INGInious/issues/134/comments","events_url":"https://api.github.com/repos/UCL-INGI/INGInious/issues/134/events","html_url":"https://github.com/UCL-INGI/INGInious/issues/134","id":169460002,"number":134,"title":"Switch to aiodocker","user":{"login":"GuillaumeDerval","id":498483,"avatar_url":"https://avatars.githubusercontent.com/u/498483?v=3","gravatar_id":"","url":"https://api.github.com/users/GuillaumeDerval","html_url":"https://github.com/GuillaumeDerval","followers_url":"https://api.github.com/users/GuillaumeDerval/followers","following_url":"https://api.github.com/users/GuillaumeDerval/following{/other_user}","gists_url":"https://api.github.com/users/GuillaumeDerval/gists{/gist_id}","starred_url":"https://api.github.com/users/GuillaumeDerval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuillaumeDerval/subscriptions","organizations_url":"https://api.github.com/users/GuillaumeDerval/orgs","repos_url":"https://api.github.com/users/GuillaumeDerval/repos","events_url":"https://api.github.com/users/GuillaumeDerval/events{/privacy}","received_events_url":"https://api.github.com/users/GuillaumeDerval/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/UCL-INGI/INGInious/labels/Client/Backend/Agent","name":"Client/Backend/Agent","color":"207de5"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-04T19:57:34Z","updated_at":"2016-08-04T19:57:34Z","closed_at":null,"body":"We currently use docker-py to communicate with docker.\r\n\r\nIt is somewhat difficult to make it interact with our asyncio/zmq-powered event loop, as it is mainly a layer of `requests`, which is perfectly synchronous.\r\n\r\nAnother lib, which is simpler than docker-py, but with less developers/users, exists: aiodocker. It uses asyncio, making it very easily integrable within the agent."}}
{"actor":{"display_login":"GuillaumeDerval"}}