{"action":"created","issue":{"url":"https://api.github.com/repos/docker/machine/issues/631","labels_url":"https://api.github.com/repos/docker/machine/issues/631/labels{/name}","comments_url":"https://api.github.com/repos/docker/machine/issues/631/comments","events_url":"https://api.github.com/repos/docker/machine/issues/631/events","html_url":"https://github.com/docker/machine/pull/631","id":59097910,"number":631,"title":"optionally add docker host to proxy excludes in env command","user":{"login":"databus23","id":439223,"avatar_url":"https://avatars.githubusercontent.com/u/439223?v=3","gravatar_id":"","url":"https://api.github.com/users/databus23","html_url":"https://github.com/databus23","followers_url":"https://api.github.com/users/databus23/followers","following_url":"https://api.github.com/users/databus23/following{/other_user}","gists_url":"https://api.github.com/users/databus23/gists{/gist_id}","starred_url":"https://api.github.com/users/databus23/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/databus23/subscriptions","organizations_url":"https://api.github.com/users/databus23/orgs","repos_url":"https://api.github.com/users/databus23/repos","events_url":"https://api.github.com/users/databus23/events{/privacy}","received_events_url":"https://api.github.com/users/databus23/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-26T16:28:57Z","updated_at":"2015-02-27T19:59:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/docker/machine/pulls/631","html_url":"https://github.com/docker/machine/pull/631","diff_url":"https://github.com/docker/machine/pull/631.diff","patch_url":"https://github.com/docker/machine/pull/631.patch"},"body":"This adds a `--no-proxy` flag to the `docker-machine env` command.\r\nWhen set it will take care of adding (and removing) the docker host to/from the *NO_PROXY* environment variable.\r\n\r\nThis helps using docker-machine with docker >=1.5 with local vm providers (e.g. fusion, virtualbox) in coporate networks where an http proxy is required for internet connectivity.\r\nSince version 1.5 the docker client picks up the *HTTP_PROXY* environment variable when connecting to the docker daemon. This does not work well for the local vm use case. In that case the docker host is inside a local virtual network only reachable from the workstation itself.\r\n\r\n@ehazlett This pull request also has the intention to illicit some feedback from you regarding this PR https://github.com/boot2docker/boot2docker-cli/pull/345 :)"},"comment":{"url":"https://api.github.com/repos/docker/machine/issues/comments/76461448","html_url":"https://github.com/docker/machine/pull/631#issuecomment-76461448","issue_url":"https://api.github.com/repos/docker/machine/issues/631","id":76461448,"user":{"login":"nathanleclaire","id":1476820,"avatar_url":"https://avatars.githubusercontent.com/u/1476820?v=3","gravatar_id":"","url":"https://api.github.com/users/nathanleclaire","html_url":"https://github.com/nathanleclaire","followers_url":"https://api.github.com/users/nathanleclaire/followers","following_url":"https://api.github.com/users/nathanleclaire/following{/other_user}","gists_url":"https://api.github.com/users/nathanleclaire/gists{/gist_id}","starred_url":"https://api.github.com/users/nathanleclaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nathanleclaire/subscriptions","organizations_url":"https://api.github.com/users/nathanleclaire/orgs","repos_url":"https://api.github.com/users/nathanleclaire/repos","events_url":"https://api.github.com/users/nathanleclaire/events{/privacy}","received_events_url":"https://api.github.com/users/nathanleclaire/received_events","type":"User","site_admin":false},"created_at":"2015-02-27T19:59:19Z","updated_at":"2015-02-27T19:59:19Z","body":"@databus23 Yes, I am in favor of the feature.  \r\n\r\nI have a question: If the user wants to connect to a remote instance, they will actually _want_ to use the proxy to enable internet connectivity, no?  How is that case handled?\r\n\r\nAlso, side note for @ehazlett : this logic is really getting hairy enough that we should eventually move to using a [text/template](http://golang.org/pkg/text/template/) to generate these commands instead."}}