macropin / docker-strider

Strider-CD Docker Image
https://hub.docker.com/r/macropin/strider/
MIT License
13 stars 13 forks source link

Trouble starting container #8

Closed maddox closed 6 years ago

maddox commented 7 years ago

I'm not sure what exactly is going on. But strider can't be run. Any time it is, this is the error that I see. The container won't come up because of this.

I'm not sure why it can't find backoff. I built the image from scratch from this repo and it still does it. So it doesn't appear to be a bad build.

Any ideas what might be causing this?

entry.sh >> Running addUser
module.js:487
    throw err;
    ^

Error: Cannot find module 'backoff'
    at Function.Module._resolveFilename (module.js:485:15)
    at Function.Module._load (module.js:437:25)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/data/node_modules/ldapjs/lib/client/client.js:9:15)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/data/node_modules/ldapjs/lib/client/index.js:7:14)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/data/node_modules/ldapjs/lib/index.js:5:14)
    at Module._compile (module.js:569:30)
itfarrier commented 7 years ago

This bug because new node container cleans cache forsibly. https://github.com/nodejs/docker-node/blob/master/Dockerfile-onbuild.template

macropin commented 7 years ago

Can you run an image pulled from the hub eg docker.io/macropin/strider:latest?