{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/docker/issues/6","labels_url":"https://api.github.com/repos/odoo/docker/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/odoo/docker/issues/6/comments","events_url":"https://api.github.com/repos/odoo/docker/issues/6/events","html_url":"https://github.com/odoo/docker/issues/6","id":56350788,"number":6,"title":"Proposal :: Avoide Docker Pitfalls","user":{"login":"blaggacao","id":7548295,"avatar_url":"https://avatars.githubusercontent.com/u/7548295?v=3","gravatar_id":"","url":"https://api.github.com/users/blaggacao","html_url":"https://github.com/blaggacao","followers_url":"https://api.github.com/users/blaggacao/followers","following_url":"https://api.github.com/users/blaggacao/following{/other_user}","gists_url":"https://api.github.com/users/blaggacao/gists{/gist_id}","starred_url":"https://api.github.com/users/blaggacao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blaggacao/subscriptions","organizations_url":"https://api.github.com/users/blaggacao/orgs","repos_url":"https://api.github.com/users/blaggacao/repos","events_url":"https://api.github.com/users/blaggacao/events{/privacy}","received_events_url":"https://api.github.com/users/blaggacao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-03T09:03:52Z","updated_at":"2015-02-04T11:15:43Z","closed_at":"2015-02-04T11:15:43Z","body":"Help avoid docker pitfalls by posting interesting resources to comon docker ceavats in order to improve the base image quality.\r\n\r\nI'll do a start:\r\n[PID1 and Zombie Processes](http://blog.phusion.nl/2015/01/20/docker-and-the-pid-1-zombie-reaping-problem/)\r\n[Syslogging](http://jpetazzo.github.io/2014/08/24/syslog-docker/)\r\n[cron vs systemd](http://krisko210.blogspot.com/2014/06/replacing-crontab-with-systemd-timers.html) - actually scheduling should be shifted out of the main app-container and performed by ephemeral worker-containers against the persitence layer see aso problems of [systemd within docker](https://maci0.wordpress.com/2014/07/23/run-systemd-in-an-unprivileged-docker-container/)\r\n[SIGTEM handling](http://serverfault.com/questions/624903/stop-postgresql-container) at the example of a postgresql container for gracefull shutdown.. I doubt odoo does atomic operations..."},"comment":{"url":"https://api.github.com/repos/odoo/docker/issues/comments/72838127","html_url":"https://github.com/odoo/docker/issues/6#issuecomment-72838127","issue_url":"https://api.github.com/repos/odoo/docker/issues/6","id":72838127,"user":{"login":"sle-odoo","id":7601090,"avatar_url":"https://avatars.githubusercontent.com/u/7601090?v=3","gravatar_id":"","url":"https://api.github.com/users/sle-odoo","html_url":"https://github.com/sle-odoo","followers_url":"https://api.github.com/users/sle-odoo/followers","following_url":"https://api.github.com/users/sle-odoo/following{/other_user}","gists_url":"https://api.github.com/users/sle-odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/sle-odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sle-odoo/subscriptions","organizations_url":"https://api.github.com/users/sle-odoo/orgs","repos_url":"https://api.github.com/users/sle-odoo/repos","events_url":"https://api.github.com/users/sle-odoo/events{/privacy}","received_events_url":"https://api.github.com/users/sle-odoo/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T11:15:43Z","updated_at":"2015-02-04T11:15:43Z","body":"Hi,\r\nSo my comments, not ordered:\r\n* The code we use for our cron and for our reactions to signals is in ``openerp/service``.\r\n* I'm not against adding a reap layer if there is a concrete usecase. You're pointing out consul-agent but at first sight the wise decision would be to derive from the docker consul-agent image.\r\n* About the syslog option, maybe we should have documentation or blog post or something with some nice things do do with this Docker image. I'll keep that in mind.\r\n\r\nSo i'm sorry but i'll have to close this ticket. I know it's not the first of yours, sorry about that, but i would like to keep this place clean to quickly react to real issues*. Once again, this bugtracker is not the right place for this kind of discussion/questions, try one of our mailing list.\r\n\r\nIt looks like you're interested in Odoo deployment, you should have a look at our [deploying documentation](https://www.odoo.com/documentation/8.0/setup/deploy.html) if not already done and maybe propose some pull requests to complete it?\r\n\r\nRegards\r\n\r\n*Like when wkhtmltopdf changed its download url, we learnt it here (sure, we now have automated test to avoid this kind of stuff)."}}