{"action":"opened","issue":{"url":"https://api.github.com/repos/joyent/sdc-docker/issues/72","repository_url":"https://api.github.com/repos/joyent/sdc-docker","labels_url":"https://api.github.com/repos/joyent/sdc-docker/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/joyent/sdc-docker/issues/72/comments","events_url":"https://api.github.com/repos/joyent/sdc-docker/issues/72/events","html_url":"https://github.com/joyent/sdc-docker/issues/72","id":141938176,"number":72,"title":"--add-host doesn't work","user":{"login":"j0hnsmith","id":118963,"avatar_url":"https://avatars.githubusercontent.com/u/118963?v=3","gravatar_id":"","url":"https://api.github.com/users/j0hnsmith","html_url":"https://github.com/j0hnsmith","followers_url":"https://api.github.com/users/j0hnsmith/followers","following_url":"https://api.github.com/users/j0hnsmith/following{/other_user}","gists_url":"https://api.github.com/users/j0hnsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/j0hnsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/j0hnsmith/subscriptions","organizations_url":"https://api.github.com/users/j0hnsmith/orgs","repos_url":"https://api.github.com/users/j0hnsmith/repos","events_url":"https://api.github.com/users/j0hnsmith/events{/privacy}","received_events_url":"https://api.github.com/users/j0hnsmith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-18T18:03:12Z","updated_at":"2016-03-18T18:03:12Z","closed_at":null,"body":"`--add-host` is supported according to https://apidocs.joyent.com/docker/commands/run\r\n\r\nI ran this with `DOCKER_HOST=tcp://eu-ams-1.docker.joyent.com:2376`\r\n\r\n```\r\n$ docker run --rm -it --add-host \"foo:111.111.111.111\"  redis:latest bash\r\nroot@ed8ffdbcd7a1:/data# cat /etc/hosts\r\n192.168.129.186 ed8ffdbcd7a1\r\n127.0.0.1       localhost\r\n::1     localhost ip6-localhost ip6-loopback\r\nfe00::0 ip6-localnet\r\nff00::0 ip6-mcastprefix\r\nff02::1 ip6-allnodes\r\nff02::2 ip6-allrouters\r\n```\r\n\r\nI would expect to see a line containing `111.111.111.111 foo` in the hosts file."}}