本文介绍了无法运行docker image'找不到Quorra'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在分配了ado之后,我能够构建我的dockerimage,但是当我尝试运行它时,出现以下错误:
After allot of ado I was able to build my dockerimage, but when I try and run it I get the following error:
$ docker run swipeimage
> [email protected] dev /var/app
> NODE_ENV=development quorra ride --watch --env development
sh: quorra: not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] dev: `NODE_ENV=development quorra ride --watch --env development`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2018-12-05T10_01_14_455Z-debug.log
我尝试将RUN npm install quorra
添加到我的docker文件中,以确保安装了Quorra,但仍然出现错误.
I tried adding RUN npm install quorra
to my docker file to make sure quorra is installed but still get an error.
推荐答案
终于知道了,我在看Quorra文档,然后改变了
Finally got it, I was looking at the quorra docs, and I changed
RUN npm install quorra
到
RUN npm install -g quorra-cli
现在可以正常工作了!
谢谢所有
这篇关于无法运行docker image'找不到Quorra'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!