{"action":"closed","issue":{"url":"https://api.github.com/repos/swipely/docker-api/issues/265","labels_url":"https://api.github.com/repos/swipely/docker-api/issues/265/labels{/name}","comments_url":"https://api.github.com/repos/swipely/docker-api/issues/265/comments","events_url":"https://api.github.com/repos/swipely/docker-api/issues/265/events","html_url":"https://github.com/swipely/docker-api/issues/265","id":60114397,"number":265,"title":"Can't create named containers","user":{"login":"trademesh","id":8017345,"avatar_url":"https://avatars.githubusercontent.com/u/8017345?v=3","gravatar_id":"","url":"https://api.github.com/users/trademesh","html_url":"https://github.com/trademesh","followers_url":"https://api.github.com/users/trademesh/followers","following_url":"https://api.github.com/users/trademesh/following{/other_user}","gists_url":"https://api.github.com/users/trademesh/gists{/gist_id}","starred_url":"https://api.github.com/users/trademesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trademesh/subscriptions","organizations_url":"https://api.github.com/users/trademesh/orgs","repos_url":"https://api.github.com/users/trademesh/repos","events_url":"https://api.github.com/users/trademesh/events{/privacy}","received_events_url":"https://api.github.com/users/trademesh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-06T15:16:44Z","updated_at":"2015-03-06T18:05:04Z","closed_at":"2015-03-06T18:05:04Z","body":"Hi guys,\r\n\r\nI am trying to create a Container with a certain name. I've tried several ways but had no luck yet.\r\nI found some \"strange\" code within the container.rb of docker-api\r\n\r\n    def self.create(opts = {}, conn = Docker.connection)\r\n    name = opts.delete('name')\r\n    query = {}\r\n    query['name'] = name if name\r\n\r\nIt seems like it is deleting the name from a create command. Does this make any sense?\r\n\r\nBest regards,\r\ntrademesh"}}