Error when trying to run a meteor app in docker using meteorhacks:meteord

I have just began playing around with docker. While trying out method 1 from meteorhacks:meteord, I get the folowing error

=> You don't have an meteor app to run in this image.

Here is what I have done after creating the basic counter demo meteor app.

  • Docker communication without using legacy links
  • How do I discover scaled container hosts with docker-compose+docker-swarm+overlay networking?
  • Can't npm install dependencies when building docker image
  • Import data.sql MySQL Docker Container
  • Is there a way to disallow other docker containers using the same CPU?
  • Docker Compose and rabbitmq docker image plugins
  •  docker build -t app .
    Sending build context to Docker daemon 11.75 MB
    Step 0 : FROM meteorhacks/meteord:base
     ---> 528baf8d4263
    Step 1 : MAINTAINER MeteorHacks Pvt Ltd.
     ---> Running in 6d7e7eb6ebce
     ---> d69fefdbeb70
    Removing intermediate container 6d7e7eb6ebce
    Step 2 : ONBUILD copy ./ /app
     ---> Running in e68618104dfa
     ---> c253ae966ea1
    Removing intermediate container e68618104dfa
    Step 3 : ONBUILD run bash $METEORD_DIR/on_build.sh
     ---> Running in e51e557c2b05
     ---> a6a6a1be9147
    Removing intermediate container e51e557c2b05
    Successfully built a6a6a1be9147
    

    then ( I already initiated a mongo container exposing 27017 and grabbed the internal ip address which was 171.17.0.1)

    docker run -d \
        -e ROOT_URL=http://localhost:3000 \
        -e MONGO_URL=mongodb://172.17.0.1:27017/ \
        -e MONGO_OPLOG_URL=mongodb://172.17.0.1:27017/ \
        -p 8080:80 \
        app 
    

    I get the error when I do this and then run docker logs <container id>

    Can someone guide me on this?

    Thanks in advance.

  • No access permission error with npm global install on docker image
  • Golang: Preview of managed VM app returns error
  • How to link from docker-compose to Amazon RDS
  • Why are certain operations on mounted volume in a Docker container really slow?
  • Docker Commit Created Images and ENTRYPOINT
  • One or more undefined variables: 'dict object' has no attribute 'SSH_AUTH_SOCK'
  • One Solution collect form web for “Error when trying to run a meteor app in docker using meteorhacks:meteord”

    This error comes from scripts/run_app.sh, which is the ENTRYPOINT of the base Dockerfile.

    It checks for the presence of:

    • /bundle folder, or
    • /built_app, or
    • $BUNDLE_URL

    If your counter demo Dockerfile didn’t populate /bundle or /built_app folders, then you need to make sure you are defining ENV BUNDLE_URL with the right url.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.