Git Product home page Git Product logo

Comments (10)

mitar avatar mitar commented on September 13, 2024 1

Just to add, I am also seeing such errors occasionally for my Meteor apps automatic builds on Docker hub. But sometimes it works. I just have to rerun a build.

from meteord.

MaxenceAdnot avatar MaxenceAdnot commented on September 13, 2024

The problem is only occurring with Docker using overlayfs as storage driver which is now the default for CoreOS.

from meteord.

arunoda avatar arunoda commented on September 13, 2024

Any idea for a fix?

from meteord.

MaxenceAdnot avatar MaxenceAdnot commented on September 13, 2024

Here's the answer I got from Meteor (cf meteor/meteor#5762):

stubailo commented 21 days ago
I don't think installing Meteor inside Docker on CoreOS is an officially supported environment. Also, you shouldn't need to install Meteor anywhere when deploying your app. We're working on a deployment guide, but the important point is that you should run meteor build locally and then deploy a node.js app bundle. Read more here: http://docs.meteor.com/#/full/deploying
Am I misunderstanding something? Is there some reason you need to install Meteor inside your deployment container?

My Dockerfile is now looking something like that :

FROM node:0.10.41

ADD .build/myapp.tar.gz /usr/src/app
WORKDIR /usr/src/app/bundle/programs/server
RUN npm install

ENV ROOT_URL http://MYURL
ENV PORT 8000

EXPOSE 8000
ENTRYPOINT ["node", "/usr/src/app/bundle/main.js"]

You just have to launch the meteor build command before building your Docker image.

from meteord.

arunoda avatar arunoda commented on September 13, 2024

Okay. That's exactly as this I think: https://github.com/meteorhacks/meteord#2-running-a-meteor-bundle-with-docker

from meteord.

arunoda avatar arunoda commented on September 13, 2024

Hope we could close this.

from meteord.

MaxenceAdnot avatar MaxenceAdnot commented on September 13, 2024

Don't have time to test if the meteord image is working properly on the current Docker 1.10.0-dev with OverlayFS as the storage driver ...

It is perfectly working with using https://github.com/meteorhacks/meteord#2-running-a-meteor-bundle-with-docker on an OverlayFS-based Docker Engine so ... let's close this issue ;)

from meteord.

MaxenceAdnot avatar MaxenceAdnot commented on September 13, 2024

I do not encounter this error on non OverlayFS-based Docker engine, do you ?

On 10 Jan 2016, at 16:23, Sean [email protected] wrote:

Any chage this can be fixed with non OverlayFS-based Docker engine?


Reply to this email directly or view it on GitHub.

from meteord.

0o-de-lally avatar 0o-de-lally commented on September 13, 2024

@mitar Is this the same error #104

from meteord.

mitar avatar mitar commented on September 13, 2024

BTW, I wrote about this to Docker and they said that they fixed it on Docker Hub. So this tar related issue is Docker issue and not really Meteor or meteord issue.

from meteord.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.