为了账号安全,请及时绑定邮箱和手机立即绑定

docker-compose up -d 报错

[root@iZwz917v57iioljd7xhprwZ ghost]# docker-compose up

ghost_db_1 is up-to-date

Starting ghost_ghost-app_1 ... 

Starting ghost_ghost-app_1 ... done

Starting ghost_nginx_1 ... 

Starting ghost_nginx_1 ... done

Attaching to ghost_db_1, ghost_ghost-app_1, ghost_nginx_1

ghost-app_1  | npm ERR! path /var/lib/ghost/package.json

ghost-app_1  | npm ERR! code ENOENT

ghost-app_1  | npm ERR! errno -2

ghost-app_1  | npm ERR! syscall open

ghost-app_1  | npm ERR! enoent ENOENT: no such file or directory, open '/var/lib/ghost/package.json'

ghost-app_1  | npm ERR! enoent This is related to npm not being able to find a file.

ghost-app_1  | npm ERR! enoent 

ghost-app_1  | 

ghost-app_1  | npm ERR! A complete log of this run can be found in:

ghost-app_1  | npm ERR!     /root/.npm/_logs/2019-05-16T10_43_50_801Z-debug.log

nginx_1      | 2019/05/16 10:43:51 [emerg] 1#1: unknown directive "worker" in /etc/nginx/nginx.conf:1

nginx_1      | nginx: [emerg] unknown directive "worker" in /etc/nginx/nginx.conf:1


正在回答

1 回答

你的nginx的配置文件应该也有问题

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

docker-compose up -d 报错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信