{"action":"created","issue":{"url":"https://api.github.com/repos/chain/chain/issues/926","repository_url":"https://api.github.com/repos/chain/chain","labels_url":"https://api.github.com/repos/chain/chain/issues/926/labels{/name}","comments_url":"https://api.github.com/repos/chain/chain/issues/926/comments","events_url":"https://api.github.com/repos/chain/chain/issues/926/events","html_url":"https://github.com/chain/chain/issues/926","id":221639675,"number":926,"title":"Docker: improve the first-run experience","user":{"login":"dominic","id":185645,"avatar_url":"https://avatars2.githubusercontent.com/u/185645?v=3","gravatar_id":"","url":"https://api.github.com/users/dominic","html_url":"https://github.com/dominic","followers_url":"https://api.github.com/users/dominic/followers","following_url":"https://api.github.com/users/dominic/following{/other_user}","gists_url":"https://api.github.com/users/dominic/gists{/gist_id}","starred_url":"https://api.github.com/users/dominic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dominic/subscriptions","organizations_url":"https://api.github.com/users/dominic/orgs","repos_url":"https://api.github.com/users/dominic/repos","events_url":"https://api.github.com/users/dominic/events{/privacy}","received_events_url":"https://api.github.com/users/dominic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-04-13T18:07:00Z","updated_at":"2017-04-13T21:47:02Z","closed_at":null,"body":"For users getting started with Chain Core, Docker has been a consistently stable option for Windows and Linux users. However, the requirement that users accessing their core through Docker authenticate with a client token adds a great deal of friction to the setup process. We've sought to eliminate this friction on other platforms, and Docker deserves the same quality of experience.\r\n\r\nI propose we find a way to remove the client token requirement from Docker. Our image is already named `chaincore/developer`, correctly setting expectations for a developer-friendly experience that isn't readily suitable for production systems.\r\n\r\nSome options:\r\n\r\n* **Disable client tokens**\r\n\r\n    Add a flag `no-auth` (or `development`) that permits all client authorizations.\r\n\r\n* **Treat host connections as local**\r\n\r\n    Pass the IP of the host system to the Chain Core running inside the Docker container via an environment variable, and treat requests from that IP as if they were localhost as well.\r\n\r\n---\r\n\r\nIn addition, Chain Core's logs, dashboard and API responses should indicate that they are accessing a development service."},"comment":{"url":"https://api.github.com/repos/chain/chain/issues/comments/294030298","html_url":"https://github.com/chain/chain/issues/926#issuecomment-294030298","issue_url":"https://api.github.com/repos/chain/chain/issues/926","id":294030298,"user":{"login":"kr","id":4178,"avatar_url":"https://avatars1.githubusercontent.com/u/4178?v=3","gravatar_id":"","url":"https://api.github.com/users/kr","html_url":"https://github.com/kr","followers_url":"https://api.github.com/users/kr/followers","following_url":"https://api.github.com/users/kr/following{/other_user}","gists_url":"https://api.github.com/users/kr/gists{/gist_id}","starred_url":"https://api.github.com/users/kr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kr/subscriptions","organizations_url":"https://api.github.com/users/kr/orgs","repos_url":"https://api.github.com/users/kr/repos","events_url":"https://api.github.com/users/kr/events{/privacy}","received_events_url":"https://api.github.com/users/kr/received_events","type":"User","site_admin":false},"created_at":"2017-04-13T21:47:02Z","updated_at":"2017-04-13T21:47:02Z","body":"Docker has a \"host networking\" option that makes the container just use the host's network stack directly. Maybe it would Just Work ™️ if we updated the instructions to include `--network host` on the docker command? (If you attempt to test this, note that it doesn't just work on mac, but docker on mac is weird, so maybe check it out on a linux host.)"}}
{"actor":{"display_login":"kr"}}