{"action":"created","issue":{"url":"https://api.github.com/repos/docker-library/rabbitmq/issues/18","labels_url":"https://api.github.com/repos/docker-library/rabbitmq/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/docker-library/rabbitmq/issues/18/comments","events_url":"https://api.github.com/repos/docker-library/rabbitmq/issues/18/events","html_url":"https://github.com/docker-library/rabbitmq/issues/18","id":70400061,"number":18,"title":"Upstreaming fixes to RabbitMQ","user":{"login":"dumbbell","id":159804,"avatar_url":"https://avatars.githubusercontent.com/u/159804?v=3","gravatar_id":"","url":"https://api.github.com/users/dumbbell","html_url":"https://github.com/dumbbell","followers_url":"https://api.github.com/users/dumbbell/followers","following_url":"https://api.github.com/users/dumbbell/following{/other_user}","gists_url":"https://api.github.com/users/dumbbell/gists{/gist_id}","starred_url":"https://api.github.com/users/dumbbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dumbbell/subscriptions","organizations_url":"https://api.github.com/users/dumbbell/orgs","repos_url":"https://api.github.com/users/dumbbell/repos","events_url":"https://api.github.com/users/dumbbell/events{/privacy}","received_events_url":"https://api.github.com/users/dumbbell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-23T12:28:38Z","updated_at":"2015-04-23T21:08:30Z","closed_at":null,"body":"Hi!\r\n\r\nI'm working on RabbitMQ to fix the issues you encounter with RabbitMQ in a Docker image and I would like to discuss how I can help you (the corresponding issue on our side is rabbitmq/rabbitmq-server#113). I am very new to Docker so I apologize for any mistakes or non-sense :)\r\n\r\nBy looking at the `Dockerfile`, I see at least two problems you work around:\r\n\r\n1. Docker expects the contained application to write log messages to stdout. In rabbitmq/rabbitmq-server@68d628cf2891b17e6cb225e6a6782b7ca94fd158 (not merged yet), I propose to use the environment variables `RABBITMQ_LOGS=-` and `RABBITMQ_SASL_LOGS=-` to send everything to stdout. Is this ok with you?\r\n2. Apparently, rabbitmq/rabbitmq-server@ec851de0e9a9d70620aacef5ad59592fbea75c81 broke the Docker image and you needed to use gosu and call the real `rabbitmq-server` script directly. Ironically, I made this change because a Docker user reported a problem with the lack of exec to start the server. I admit I didn't tested the fix in Docker by lack of knowledge/time and trusted him.\r\n\r\nIs there anything else to ease the integration of RabbitMQ in Docker?"},"comment":{"url":"https://api.github.com/repos/docker-library/rabbitmq/issues/comments/95719448","html_url":"https://github.com/docker-library/rabbitmq/issues/18#issuecomment-95719448","issue_url":"https://api.github.com/repos/docker-library/rabbitmq/issues/18","id":95719448,"user":{"login":"yosifkit","id":896423,"avatar_url":"https://avatars.githubusercontent.com/u/896423?v=3","gravatar_id":"","url":"https://api.github.com/users/yosifkit","html_url":"https://github.com/yosifkit","followers_url":"https://api.github.com/users/yosifkit/followers","following_url":"https://api.github.com/users/yosifkit/following{/other_user}","gists_url":"https://api.github.com/users/yosifkit/gists{/gist_id}","starred_url":"https://api.github.com/users/yosifkit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yosifkit/subscriptions","organizations_url":"https://api.github.com/users/yosifkit/orgs","repos_url":"https://api.github.com/users/yosifkit/repos","events_url":"https://api.github.com/users/yosifkit/events{/privacy}","received_events_url":"https://api.github.com/users/yosifkit/received_events","type":"User","site_admin":false},"created_at":"2015-04-23T21:08:29Z","updated_at":"2015-04-23T21:08:29Z","body":"Thanks for caring about your docker users :heart_eyes_cat:."}}