{"action":"created","issue":{"url":"https://api.github.com/repos/Runnable/docker-mock/issues/55","labels_url":"https://api.github.com/repos/Runnable/docker-mock/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/Runnable/docker-mock/issues/55/comments","events_url":"https://api.github.com/repos/Runnable/docker-mock/issues/55/events","html_url":"https://github.com/Runnable/docker-mock/pull/55","id":120217692,"number":55,"title":"Handle name when creating a container and returning list of containers","user":{"login":"doganyazar","id":1618686,"avatar_url":"https://avatars.githubusercontent.com/u/1618686?v=3","gravatar_id":"","url":"https://api.github.com/users/doganyazar","html_url":"https://github.com/doganyazar","followers_url":"https://api.github.com/users/doganyazar/followers","following_url":"https://api.github.com/users/doganyazar/following{/other_user}","gists_url":"https://api.github.com/users/doganyazar/gists{/gist_id}","starred_url":"https://api.github.com/users/doganyazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doganyazar/subscriptions","organizations_url":"https://api.github.com/users/doganyazar/orgs","repos_url":"https://api.github.com/users/doganyazar/repos","events_url":"https://api.github.com/users/doganyazar/events{/privacy}","received_events_url":"https://api.github.com/users/doganyazar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Runnable/docker-mock/labels/work%20in%20progress","name":"work in progress","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-12-03T16:44:02Z","updated_at":"2015-12-18T17:28:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Runnable/docker-mock/pulls/55","html_url":"https://github.com/Runnable/docker-mock/pull/55","diff_url":"https://github.com/Runnable/docker-mock/pull/55.diff","patch_url":"https://github.com/Runnable/docker-mock/pull/55.patch"},"body":"I just wanted to add functionality to get container's name from /containers/create api. \r\nI do not know why but Docker api returns each container's name in \"Names\" field when listing containers via /containers/json?all=1\r\n(https://docs.docker.com/engine/reference/api/docker_remote_api_v1.21/#list-containers)"},"comment":{"url":"https://api.github.com/repos/Runnable/docker-mock/issues/comments/165846920","html_url":"https://github.com/Runnable/docker-mock/pull/55#issuecomment-165846920","issue_url":"https://api.github.com/repos/Runnable/docker-mock/issues/55","id":165846920,"user":{"login":"doganyazar","id":1618686,"avatar_url":"https://avatars.githubusercontent.com/u/1618686?v=3","gravatar_id":"","url":"https://api.github.com/users/doganyazar","html_url":"https://github.com/doganyazar","followers_url":"https://api.github.com/users/doganyazar/followers","following_url":"https://api.github.com/users/doganyazar/following{/other_user}","gists_url":"https://api.github.com/users/doganyazar/gists{/gist_id}","starred_url":"https://api.github.com/users/doganyazar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doganyazar/subscriptions","organizations_url":"https://api.github.com/users/doganyazar/orgs","repos_url":"https://api.github.com/users/doganyazar/repos","events_url":"https://api.github.com/users/doganyazar/events{/privacy}","received_events_url":"https://api.github.com/users/doganyazar/received_events","type":"User","site_admin":false},"created_at":"2015-12-18T17:28:21Z","updated_at":"2015-12-18T17:28:21Z","body":"Ok I have just added a check to make sure same container name cannot be used. And added test for it and also for the original Names field. \r\nNot sure why the coverage failed. "}}