Dokku/Docker deploying apps fails

Docker noob here so bear with me.

I have a VPS with dokku configured, it has multiple apps already running.
I am trying to add a fairly complex app at present. But docker just fails with the following error.

  • getting JsonMappingException with latest spotify docker-client
  • Docker Externally Routable Containers
  • Spring Bean injection fails on OpenShift
  • How to connect a service running inside a docker with consul?
  • cf ic plugin not able to find docker daemon while authentication
  • docker blockio can not monitor when using dd to test
  • enter image description here

    From what I understand I need to update the packages the error is given. Problem is they are needed by some other module and I cant update it. Is a way to make docker bypass the warning and build.

    Following is the content of my docker

    FROM mhart/alpine-node:6
    # Create app dir
    RUN mkdir -p /app
    WORKDIR /app
    # Install dependancy
    COPY package.json /app
    RUN npm install
    # Bundle the app
    COPY . /app
    EXPOSE 9337
    CMD ["npm", "start"]

    Been trying this for a couple of days not with no success.
    Any help greatly appreciated


  • Can not find docker container
  • connect to mysql server in docker
  • Linux Container vs JVM
  • Accessing RDS from within a Docker container not getting through security group?
  • Run a service automatically in a docker container
  • Docker: group of a shared volume changes depending on host user
  • One Solution collect form web for “Dokku/Docker deploying apps fails”

    I believe npm process get killed with error 137 on docker is usually caused by out of memory error. You can try adding swap file (or add more RAM) to test this.

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