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 mysql official image
  • Saving a Docker image with boot2docker
  • Connect to Windows 10 Docker daemon from ubuntu bash
  • Linux based docker images on Windows Server 2016 TP5
  • Vagrant docker provisioner doesn't start containers on boot
  • Run maven command from docker image
  •  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.

  • Deploying Java webapp to Tomcat 8 running in Docker container
  • How to setup JanusGraph using Docker for Cassandra and Elasticsearch?
  • cannot run jfrog executable from inside alpine linux container
  • How to create new databases and collections when using MongoDB with Docker?
  • Kubernetes behind explicit proxy
  • Docker COPY command give 777 access to the copied file
  • 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.