{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker-py/issues/750","labels_url":"https://api.github.com/repos/docker/docker-py/issues/750/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker-py/issues/750/comments","events_url":"https://api.github.com/repos/docker/docker-py/issues/750/events","html_url":"https://github.com/docker/docker-py/issues/750","id":103868145,"number":750,"title":"Passing host_config parameters in start() overrides the host_config that was passed in create()?","user":{"login":"eleweek","id":1133550,"avatar_url":"https://avatars.githubusercontent.com/u/1133550?v=3","gravatar_id":"","url":"https://api.github.com/users/eleweek","html_url":"https://github.com/eleweek","followers_url":"https://api.github.com/users/eleweek/followers","following_url":"https://api.github.com/users/eleweek/following{/other_user}","gists_url":"https://api.github.com/users/eleweek/gists{/gist_id}","starred_url":"https://api.github.com/users/eleweek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eleweek/subscriptions","organizations_url":"https://api.github.com/users/eleweek/orgs","repos_url":"https://api.github.com/users/eleweek/repos","events_url":"https://api.github.com/users/eleweek/events{/privacy}","received_events_url":"https://api.github.com/users/eleweek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker-py/labels/docker-engine","name":"docker-engine","color":"880000"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-08-29T18:19:57Z","updated_at":"2015-10-11T06:59:48Z","closed_at":null,"body":"I had a `host_config` with `extra_hosts` defined. I used this `host_config` to create a container. When starting container, I passed extra volumes_from parameter. However, this lead to `extra_hosts` seemingly not doing their job. \r\n\r\nAfter I moved `volumes_from` from `start()` to `create_host_config` everything started working OK. \r\n\r\nI figured, I should report this, since I spent a couple of hours figuring this out. IMO, start() should override the necessary parts of host_config(and not the whole thing). Or raise an exception."},"comment":{"url":"https://api.github.com/repos/docker/docker-py/issues/comments/147164721","html_url":"https://github.com/docker/docker-py/issues/750#issuecomment-147164721","issue_url":"https://api.github.com/repos/docker/docker-py/issues/750","id":147164721,"user":{"login":"kawasakitoshiya","id":1647045,"avatar_url":"https://avatars.githubusercontent.com/u/1647045?v=3","gravatar_id":"","url":"https://api.github.com/users/kawasakitoshiya","html_url":"https://github.com/kawasakitoshiya","followers_url":"https://api.github.com/users/kawasakitoshiya/followers","following_url":"https://api.github.com/users/kawasakitoshiya/following{/other_user}","gists_url":"https://api.github.com/users/kawasakitoshiya/gists{/gist_id}","starred_url":"https://api.github.com/users/kawasakitoshiya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kawasakitoshiya/subscriptions","organizations_url":"https://api.github.com/users/kawasakitoshiya/orgs","repos_url":"https://api.github.com/users/kawasakitoshiya/repos","events_url":"https://api.github.com/users/kawasakitoshiya/events{/privacy}","received_events_url":"https://api.github.com/users/kawasakitoshiya/received_events","type":"User","site_admin":false},"created_at":"2015-10-11T06:59:48Z","updated_at":"2015-10-11T06:59:48Z","body":"I spent a few days on this issue :("}}