MeteorD container starting failed

Today (13 Sep 2016 11:42:21 +0800) I built a meteord image according to kadirahq/meteord on a Ubuntu 14.04 host and try to run:

$ git clone
$ cd simple-todos/
$ echo "FROM meteorhacks/meteord:onbuild" > Dockerfile
$ docker build -t newfairs/simpletodo .
$ docker run -d -e ROOT_URL='' -p 8080:80 newfairs/simpletodo
$ docker logs 08f0bb92277c
=> Starting meteor app on port:80

  throw new assert.AssertionError({
AssertionError: "undefined" === "function"
    at wrapPathFunction (/built_app/programs/server/mini-files.js:77:10)
    at Object.<anonymous> (/built_app/programs/server/mini-files.js:108:24)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/built_app/programs/server/boot.js:9:13)
    at Module._compile (module.js:456:26)

I checked the image after running docker build ....
It’s created successfully:

  • Docker. Celery and code in different containers
  • How to do a “docker-compose” in a “docker machine”?
  • Docker on Windows and Samba/CIFS
  • Unable to run rails console using Docker Compose
  • Docker network issues with nginx proxy container
  • Connecting to Apple's APNS using cURL with HTTP\2 support via nghttp2
  • $ docker images 
    REPOSITORY            TAG                 IMAGE ID            CREATED             SIZE
    newfairs/simpletodo   latest              5591f4901bdb        19 minutes ago      403.9 MB
    meteorhacks/meteord   onbuild             3776323ff756        5 weeks ago         330.7 MB

    How to fix the error and make the meteor app running in container?

  • copy file from container to the host before the container dies
  • Running a Python script automatically when launching a Docker container
  • Does Docker give RAM extra mileage?
  • How to add module to Wildfly using CLI
  • Having two NIC's on a Docker image before it boots
  • How to properly launch an OpenShift v3 app
  • Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.