{"action":"created","issue":{"url":"https://api.github.com/repos/docker/docker/issues/25074","repository_url":"https://api.github.com/repos/docker/docker","labels_url":"https://api.github.com/repos/docker/docker/issues/25074/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/25074/comments","events_url":"https://api.github.com/repos/docker/docker/issues/25074/events","html_url":"https://github.com/docker/docker/issues/25074","id":167634291,"number":25074,"title":"Intermittent error with Docker for Mac (driver failed programming external connectivity)","user":{"login":"foxx","id":651797,"avatar_url":"https://avatars.githubusercontent.com/u/651797?v=3","gravatar_id":"","url":"https://api.github.com/users/foxx","html_url":"https://github.com/foxx","followers_url":"https://api.github.com/users/foxx/followers","following_url":"https://api.github.com/users/foxx/following{/other_user}","gists_url":"https://api.github.com/users/foxx/gists{/gist_id}","starred_url":"https://api.github.com/users/foxx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foxx/subscriptions","organizations_url":"https://api.github.com/users/foxx/orgs","repos_url":"https://api.github.com/users/foxx/repos","events_url":"https://api.github.com/users/foxx/events{/privacy}","received_events_url":"https://api.github.com/users/foxx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/docker/labels/group/desktop","name":"group/desktop","color":"F6FBFF"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-07-26T15:18:37Z","updated_at":"2016-08-17T11:10:32Z","closed_at":null,"body":"Every now and then, I get the following error;\r\n\r\n```\r\n$ docker run -t -i \\\r\n\t\t-p 8080:80 \\\r\n\t\t-v `pwd`/src/voipmonitor-gui/:/var/www/ \\\r\n\t\txxxx/voipmonitor:gui-stage1\r\ndocker: Error response from daemon: driver failed programming external connectivity \r\non endpoint peaceful_jang (610c2781c69216bc86263af4f5b138da06f1c936e9d26f84a2746dad6539a2bc): \r\niptables failed: iptables --wait -t nat -A DOCKER -p tcp -d 0/0 --dport 8080 -j DNAT \r\n--to-destination 172.17.0.2:80 ! -i docker0: Fatal error: exception \r\nUnix.Unix_error(Unix.ENOTCONN, \"open\", \"/var/log/service-port-opener.log\")\r\n```\r\n\r\nIf ran again, sometimes it will error out with;\r\n\r\n```\r\ndocker: Error response from daemon: Mounts denied: closed.\r\n```\r\n\r\nAnd if I wait a couple of seconds then re-run the command, the problem goes away.\r\n\r\nDocker for Mac version is;\r\n\r\n```\r\nVersion 1.12.0-rc4-beta20 (build: 10404)\r\n32ce3bdb164320603f1c2d1fb2ba32a43477ef3d\r\n```\r\n\r\nDocker version is;\r\n\r\n```\r\n$ docker -v\r\nDocker version 1.12.0-rc4, build e4a0dbc, experimental\r\n```\r\n\r\nOS X version is;\r\n\r\n```\r\n10.11.5 (15F34)\r\n```"},"comment":{"url":"https://api.github.com/repos/docker/docker/issues/comments/240381606","html_url":"https://github.com/docker/docker/issues/25074#issuecomment-240381606","issue_url":"https://api.github.com/repos/docker/docker/issues/25074","id":240381606,"user":{"login":"dsheets","id":59918,"avatar_url":"https://avatars.githubusercontent.com/u/59918?v=3","gravatar_id":"","url":"https://api.github.com/users/dsheets","html_url":"https://github.com/dsheets","followers_url":"https://api.github.com/users/dsheets/followers","following_url":"https://api.github.com/users/dsheets/following{/other_user}","gists_url":"https://api.github.com/users/dsheets/gists{/gist_id}","starred_url":"https://api.github.com/users/dsheets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsheets/subscriptions","organizations_url":"https://api.github.com/users/dsheets/orgs","repos_url":"https://api.github.com/users/dsheets/repos","events_url":"https://api.github.com/users/dsheets/events{/privacy}","received_events_url":"https://api.github.com/users/dsheets/received_events","type":"User","site_admin":false},"created_at":"2016-08-17T11:10:32Z","updated_at":"2016-08-17T11:10:32Z","body":"Beta 23 has now been released which should fix this issue."}}
{"actor":{"display_login":"dsheets"}}