{"action":"created","issue":{"url":"https://api.github.com/repos/projectatomic/atomic/issues/41","repository_url":"https://api.github.com/repos/projectatomic/atomic","labels_url":"https://api.github.com/repos/projectatomic/atomic/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/projectatomic/atomic/issues/41/comments","events_url":"https://api.github.com/repos/projectatomic/atomic/issues/41/events","html_url":"https://github.com/projectatomic/atomic/issues/41","id":69126122,"number":41,"title":"atomic run doesn't work with Docker TCP connection","user":{"login":"roldancer","id":5012200,"avatar_url":"https://avatars.githubusercontent.com/u/5012200?v=3","gravatar_id":"","url":"https://api.github.com/users/roldancer","html_url":"https://github.com/roldancer","followers_url":"https://api.github.com/users/roldancer/followers","following_url":"https://api.github.com/users/roldancer/following{/other_user}","gists_url":"https://api.github.com/users/roldancer/gists{/gist_id}","starred_url":"https://api.github.com/users/roldancer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roldancer/subscriptions","organizations_url":"https://api.github.com/users/roldancer/orgs","repos_url":"https://api.github.com/users/roldancer/repos","events_url":"https://api.github.com/users/roldancer/events{/privacy}","received_events_url":"https://api.github.com/users/roldancer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"TomasTomecek","id":1662493,"avatar_url":"https://avatars.githubusercontent.com/u/1662493?v=3","gravatar_id":"","url":"https://api.github.com/users/TomasTomecek","html_url":"https://github.com/TomasTomecek","followers_url":"https://api.github.com/users/TomasTomecek/followers","following_url":"https://api.github.com/users/TomasTomecek/following{/other_user}","gists_url":"https://api.github.com/users/TomasTomecek/gists{/gist_id}","starred_url":"https://api.github.com/users/TomasTomecek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomasTomecek/subscriptions","organizations_url":"https://api.github.com/users/TomasTomecek/orgs","repos_url":"https://api.github.com/users/TomasTomecek/repos","events_url":"https://api.github.com/users/TomasTomecek/events{/privacy}","received_events_url":"https://api.github.com/users/TomasTomecek/received_events","type":"User","site_admin":false},"milestone":null,"comments":14,"created_at":"2015-04-17T12:06:57Z","updated_at":"2016-06-21T06:16:27Z","closed_at":"2016-06-20T20:28:55Z","body":"Hi, atomic run ... doesn't work if the docker daemon was started with TCP connection\r\n\r\nmore /etc/sysconfig/docker\r\n....\r\nOPTIONS='--insecure-registry dockerregistry.jaja.corp:5000 --selinux-enabled -H [IP]:5320'\r\n.....\r\n\r\n-bash-4.2# atomic run registry.access.redhat.com/rhel7/rhel-tools\r\nUnable to communicate with docker daemon: [Errno 2] No such file or directory\r\n\r\nIf I change to unix socket it works OK, \r\n\r\nBye."},"comment":{"url":"https://api.github.com/repos/projectatomic/atomic/issues/comments/227350104","html_url":"https://github.com/projectatomic/atomic/issues/41#issuecomment-227350104","issue_url":"https://api.github.com/repos/projectatomic/atomic/issues/41","id":227350104,"user":{"login":"TomasTomecek","id":1662493,"avatar_url":"https://avatars.githubusercontent.com/u/1662493?v=3","gravatar_id":"","url":"https://api.github.com/users/TomasTomecek","html_url":"https://github.com/TomasTomecek","followers_url":"https://api.github.com/users/TomasTomecek/followers","following_url":"https://api.github.com/users/TomasTomecek/following{/other_user}","gists_url":"https://api.github.com/users/TomasTomecek/gists{/gist_id}","starred_url":"https://api.github.com/users/TomasTomecek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomasTomecek/subscriptions","organizations_url":"https://api.github.com/users/TomasTomecek/orgs","repos_url":"https://api.github.com/users/TomasTomecek/repos","events_url":"https://api.github.com/users/TomasTomecek/events{/privacy}","received_events_url":"https://api.github.com/users/TomasTomecek/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T06:16:27Z","updated_at":"2016-06-21T06:16:27Z","body":"@dustymabe ~~two~~ three things:\r\n\r\n1. `atomic` command doesn't have **any** logging system. To be honest — that's pretty bad. When I was working on this, I realized, that all exceptions from docker, propagated via docker-py, are eaten [here](https://github.com/projectatomic/atomic/blob/4168dfb994ca625e9939484332a8fd534c7ee85b/Atomic/client.py#L11). If there was a logging, I would suggest logging the exception as a warning. Right now, it's hard to figure out what's going without a reproducer (since there are no logs). If you are interested in having a logging system in `atomic` command, I would love to work on that, just let me know.\r\n\r\n2. I have no idea what your setup is; if you could open a new issue with a reproducer I would love to work on that with you and have it resolved.\r\n\r\n3. When I played with this, I managed to reach a working environment (I run `atomic run tomastomecek/sen` and the container got started on a docker engine listening only on `localhost:9999`, *without* TLS), it would be beneficial to have an integration test for this; can I submit it somewhere?\r\n"}}
{"actor":{"display_login":"TomasTomecek"}}