-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Pushing the Node.js sample to the box fails when there are at least 10 docker containers running.
MSMBP:nodejs-hello-world M$ git push platform master
Counting objects: 407, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (321/321), done.
Writing objects: 100% (407/407), 216.88 KiB | 0 bytes/s, done.
Total 407 (delta 57), reused 403 (delta 56)
-----> Cleaning up...
-----> Building nodejs-hello-world from buildstep...
-----> Adding BUILD_ENV to build environment...
-----> Injecting apt repositories and packages ...
-----> Node.js app detected
-----> Creating runtime environment
NPM_CONFIG_LOGLEVEL=error
NPM_CONFIG_PRODUCTION=true
NODE_MODULES_CACHE=true
-----> Installing binaries
engines.node (package.json): 0.12.2
engines.npm (package.json): unspecified (use default)
Downloading and installing node 0.12.2...
Using default npm version: 2.7.4
-----> Restoring cache
Loading 1 from cacheDirectories (default):
- node_modules
-----> Building dependencies
Pruning any extraneous modules
Installing node modules (package.json + shrinkwrap)
-----> Caching build
Clearing previous node cache
Saving 1 cacheDirectories (default):
- node_modules
-----> Build succeeded!
└── [email protected]
-----> Discovering process types
Procfile declares types -> web
-----> Releasing nodejs-hello-world...
-----> Deploying nodejs-hello-world...
-----> Running pre-flight checks
For more efficient zero downtime deployments, create a file CHECKS.
See http://progrium.viewdocs.io/dokku/checks-examples.md for examples
CHECKS file not found in container: Running simple container check...
-----> Waiting for 10 seconds ...
remote: App container failed to start!!
=====> nodejs-hello-world container output:
Detected 512 MB available memory, 512 MB limit per process (WEB_MEMORY)
Recommending WEB_CONCURRENCY=1
Node app is running at localhost:5000
=====> end nodejs-hello-world container output
remote: /usr/local/bin/dokku: line 49: 1524 Killed dokku deploy "$APP"
To ssh://[email protected]:8022/nodejs-hello-world
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to 'ssh://[email protected]:8022/nodejs-hello-world'
As soon as I reduce the number of running docker containers by calling docker stop ... , everything deploys fine.
I suppose it is related to this issue: dokku/dokku#1270
Metadata
Metadata
Assignees
Labels
No labels