{"action":"created","issue":{"url":"https://api.github.com/repos/SpisTresci/mezzanine-docker-demo/issues/1","labels_url":"https://api.github.com/repos/SpisTresci/mezzanine-docker-demo/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/SpisTresci/mezzanine-docker-demo/issues/1/comments","events_url":"https://api.github.com/repos/SpisTresci/mezzanine-docker-demo/issues/1/events","html_url":"https://github.com/SpisTresci/mezzanine-docker-demo/pull/1","id":53227146,"number":1,"title":"Add sshd server on services","user":{"login":"helber","id":192009,"avatar_url":"https://avatars.githubusercontent.com/u/192009?v=3","gravatar_id":"","url":"https://api.github.com/users/helber","html_url":"https://github.com/helber","followers_url":"https://api.github.com/users/helber/followers","following_url":"https://api.github.com/users/helber/following{/other_user}","gists_url":"https://api.github.com/users/helber/gists{/gist_id}","starred_url":"https://api.github.com/users/helber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helber/subscriptions","organizations_url":"https://api.github.com/users/helber/orgs","repos_url":"https://api.github.com/users/helber/repos","events_url":"https://api.github.com/users/helber/events{/privacy}","received_events_url":"https://api.github.com/users/helber/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-01T19:53:16Z","updated_at":"2015-01-02T00:35:11Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/SpisTresci/mezzanine-docker-demo/pulls/1","html_url":"https://github.com/SpisTresci/mezzanine-docker-demo/pull/1","diff_url":"https://github.com/SpisTresci/mezzanine-docker-demo/pull/1.diff","patch_url":"https://github.com/SpisTresci/mezzanine-docker-demo/pull/1.patch"},"body":"Just to start sshd on supervisor."},"comment":{"url":"https://api.github.com/repos/SpisTresci/mezzanine-docker-demo/issues/comments/68503659","html_url":"https://github.com/SpisTresci/mezzanine-docker-demo/pull/1#issuecomment-68503659","issue_url":"https://api.github.com/repos/SpisTresci/mezzanine-docker-demo/issues/1","id":68503659,"user":{"login":"helber","id":192009,"avatar_url":"https://avatars.githubusercontent.com/u/192009?v=3","gravatar_id":"","url":"https://api.github.com/users/helber","html_url":"https://github.com/helber","followers_url":"https://api.github.com/users/helber/followers","following_url":"https://api.github.com/users/helber/following{/other_user}","gists_url":"https://api.github.com/users/helber/gists{/gist_id}","starred_url":"https://api.github.com/users/helber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helber/subscriptions","organizations_url":"https://api.github.com/users/helber/orgs","repos_url":"https://api.github.com/users/helber/repos","events_url":"https://api.github.com/users/helber/events{/privacy}","received_events_url":"https://api.github.com/users/helber/received_events","type":"User","site_admin":false},"created_at":"2015-01-02T00:35:11Z","updated_at":"2015-01-02T00:35:11Z","body":"Thanks for reply.\r\nThinking better, you have complete solution. Sorry for this. You can ignore\r\nthis pull request.\r\n\r\nThank you very much,\r\nHelber Maciel Guerra\r\n Em 01/01/2015 19:28, \"Krzysztof Szumny\" <notifications@github.com>\r\nescreveu:\r\n\r\n> First of all, thanks for your contribution! As you probably read in\r\n> Dockerfile ssh server is installed, because I have already prepared this\r\n> solution for debugging with Pycharm:\r\n> https://github.com/hydroshare/hydroshare2/wiki/Developing-on-Linux-with-docker-and-PyCharm\r\n>\r\n> Nevertheless, as far as I know ssh'ing to docker container is not a best\r\n> practice: http://jpetazzo.github.io/2014/06/23/docker-ssh-considered-evil/\r\n>\r\n> That's way i decided to not enable this by default.\r\n>\r\n> sshd can be easily turned on, by:\r\n>\r\n> docker exec -t -i <container_id> /usr/sbin/sshd\r\n>\r\n> or if you don't need to ssh, and simple bash inside container will be\r\n> enough:\r\n>\r\n> docker exec -t -i <container_id> bash\r\n>\r\n> Considering this, do you still think that we should enable by default\r\n> sshd? To be honest i don't have to much experience with docker, but if I\r\n> could figured out how to debug python code inside container without ssh,\r\n> then I think we could completely remove installation of ssh server in\r\n> Dockerfile.\r\n>\r\n> What is the main reason why do you need ssh enabled by default?\r\n>\r\n> What is the main reason why do you need ssh enabled by default?\r\n>\r\n> —\r\n> Reply to this email directly or view it on GitHub\r\n> <https://github.com/SpisTresci/mezzanine-docker-demo/pull/1#issuecomment-68498875>\r\n> .\r\n>"}}