CyCoreSystems / docker-meteor

Dockerfile and script for running Meteor on Docker
MIT License
120 stars 73 forks source link

Ends at Building the bundle...(this may take a while) no error shown #61

Open adammendoza opened 5 years ago

adammendoza commented 5 years ago

I'm using this app which works locally but does not build on docker

git clone https://github.com/dockercochabamba/todos.git meteor-todos-docker
adam@mpb:~/code/meteor/meteor-todos-docker$ docker run \
>   -e ROOT_URL=http://localhost:3000/ \
>   -v $(pwd):/home/meteor/src \
>   -e MONGO_URL=mongodb://mongodb3:27017/appdb \
>   -e MONGO_OPLOG_URL=mongodb://mongodb3:27017/local \
>   ulexus/meteor
Meteor source found in /home/meteor/src/.meteor
Checking Meteor version...
Downloading Meteor install script...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  7786    0  7786    0     0  19656      0 --:--:-- --:--:-- --:--:-- 19711
Installing Meteor 1.4.4.1...
Downloading Meteor distribution

Meteor 1.4.4.1 has been installed in your home directory (~/.meteor).
Writing a launcher script to /usr/local/bin/meteor for your convenience.

To get started fast:

  $ meteor create ~/my_cool_app
  $ cd ~/my_cool_app
  $ meteor

Or see the docs at:

  docs.meteor.com

Installing application-side NPM dependencies...
npm WARN src No repository field.
npm WARN src No license field.
Building the bundle...(this may take a while)
adam@mpb:~/code/meteor/meteor-todos-docker$
Ulexus commented 5 years ago

Unfortunately, there could be quite a number of reasons for this. The most common I've seen is that the kernel's OOM (out-of-memory) killer got it. If that is the problem, you should see it in your kernel message log, which you can view with the dmesg tool. Since it would appear you are running Docker on a Mac (I'm assuming the hostname of "mbp" is "Macbook Pro"), and since Docker runs in some weird VM setup on the Mac, that's where I would look first.