{"action":"created","issue":{"url":"https://api.github.com/repos/experimental-platform/platform-configure-script/issues/37","labels_url":"https://api.github.com/repos/experimental-platform/platform-configure-script/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/experimental-platform/platform-configure-script/issues/37/comments","events_url":"https://api.github.com/repos/experimental-platform/platform-configure-script/issues/37/events","html_url":"https://github.com/experimental-platform/platform-configure-script/issues/37","id":103736028,"number":37,"title":"Deployment fails when there are 10 or more Docker containers running","user":{"login":"mschm","id":2902690,"avatar_url":"https://avatars.githubusercontent.com/u/2902690?v=3","gravatar_id":"","url":"https://api.github.com/users/mschm","html_url":"https://github.com/mschm","followers_url":"https://api.github.com/users/mschm/followers","following_url":"https://api.github.com/users/mschm/following{/other_user}","gists_url":"https://api.github.com/users/mschm/gists{/gist_id}","starred_url":"https://api.github.com/users/mschm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschm/subscriptions","organizations_url":"https://api.github.com/users/mschm/orgs","repos_url":"https://api.github.com/users/mschm/repos","events_url":"https://api.github.com/users/mschm/events{/privacy}","received_events_url":"https://api.github.com/users/mschm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-28T15:10:35Z","updated_at":"2015-09-01T08:35:29Z","closed_at":null,"body":"Pushing the Node.js sample to the box fails when there are at least 10 docker containers running.\r\n```\r\nMSMBP:nodejs-hello-world M$ git push platform master\r\nCounting objects: 407, done.\r\nDelta compression using up to 4 threads.\r\nCompressing objects: 100% (321/321), done.\r\nWriting objects: 100% (407/407), 216.88 KiB | 0 bytes/s, done.\r\nTotal 407 (delta 57), reused 403 (delta 56)\r\n-----> Cleaning up...\r\n-----> Building nodejs-hello-world from buildstep...\r\n-----> Adding BUILD_ENV to build environment...\r\n-----> Injecting apt repositories and packages ...\r\n-----> Node.js app detected\r\n       \r\n-----> Creating runtime environment\r\n       \r\n       NPM_CONFIG_LOGLEVEL=error\r\n       NPM_CONFIG_PRODUCTION=true\r\n       NODE_MODULES_CACHE=true\r\n       \r\n-----> Installing binaries\r\n       engines.node (package.json):  0.12.2\r\n       engines.npm (package.json):   unspecified (use default)\r\n       \r\n       Downloading and installing node 0.12.2...\r\n       Using default npm version: 2.7.4\r\n       \r\n-----> Restoring cache\r\n       Loading 1 from cacheDirectories (default):\r\n       - node_modules\r\n       \r\n-----> Building dependencies\r\n       Pruning any extraneous modules\r\n       Installing node modules (package.json + shrinkwrap)\r\n       \r\n-----> Caching build\r\n       Clearing previous node cache\r\n       Saving 1 cacheDirectories (default):\r\n       - node_modules\r\n       \r\n-----> Build succeeded!\r\n       └── express@4.13.3\r\n       \r\n-----> Discovering process types\r\n       Procfile declares types -> web\r\n-----> Releasing nodejs-hello-world...\r\n-----> Deploying nodejs-hello-world...\r\n-----> Running pre-flight checks\r\n       For more efficient zero downtime deployments, create a file CHECKS.\r\n       See http://progrium.viewdocs.io/dokku/checks-examples.md for examples\r\n       CHECKS file not found in container: Running simple container check...\r\n-----> Waiting for 10 seconds ...\r\nremote: App container failed to start!!\r\n=====> nodejs-hello-world container output:\r\n       Detected 512 MB available memory, 512 MB limit per process (WEB_MEMORY)\r\n       Recommending WEB_CONCURRENCY=1\r\n       Node app is running at localhost:5000\r\n=====> end nodejs-hello-world container output\r\nremote: /usr/local/bin/dokku: line 49:  1524 Killed                  dokku deploy \"$APP\"\r\nTo ssh://dokku@vskylabs.local:8022/nodejs-hello-world\r\n ! [remote rejected] master -> master (pre-receive hook declined)\r\nerror: failed to push some refs to 'ssh://dokku@vskylabs.local:8022/nodejs-hello-world'\r\n```\r\n\r\nAs soon as I reduce the number of running docker containers by calling docker stop ... , everything deploys fine. \r\nI suppose it is related to this issue: https://github.com/progrium/dokku/issues/1270"},"comment":{"url":"https://api.github.com/repos/experimental-platform/platform-configure-script/issues/comments/136636380","html_url":"https://github.com/experimental-platform/platform-configure-script/issues/37#issuecomment-136636380","issue_url":"https://api.github.com/repos/experimental-platform/platform-configure-script/issues/37","id":136636380,"user":{"login":"mschm","id":2902690,"avatar_url":"https://avatars.githubusercontent.com/u/2902690?v=3","gravatar_id":"","url":"https://api.github.com/users/mschm","html_url":"https://github.com/mschm","followers_url":"https://api.github.com/users/mschm/followers","following_url":"https://api.github.com/users/mschm/following{/other_user}","gists_url":"https://api.github.com/users/mschm/gists{/gist_id}","starred_url":"https://api.github.com/users/mschm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mschm/subscriptions","organizations_url":"https://api.github.com/users/mschm/orgs","repos_url":"https://api.github.com/users/mschm/repos","events_url":"https://api.github.com/users/mschm/events{/privacy}","received_events_url":"https://api.github.com/users/mschm/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T08:35:29Z","updated_at":"2015-09-01T08:35:29Z","body":"Creating an empty CHECKS file bypasses the faulty default pre-flight check. Not the best solution, but at least it works :)"}}