第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

執(zhí)行docker-compose up

Attaching to ghost_db_1, ghost_ghost-app_1, ghost_nginx_1
db_1???????? | Initializing database
db_1???????? | 2018-01-09T04:09:52.145515Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
db_1???????? | 2018-01-09T04:09:52.147605Z 0 [ERROR] --initialize specified but the data directory has files in it. Aborting.
db_1???????? | 2018-01-09T04:09:52.147639Z 0 [ERROR] Aborting
db_1???????? |
nginx_1????? | 2018/01/09 04:09:54 [emerg] 1#1: host not found in upstream "ghost-app" in /etc/nginx/nginx.conf:7
ghost-app_1? | npm ERR! Linux 4.4.0-87-generic
nginx_1????? | nginx: [emerg] host not found in upstream "ghost-app" in /etc/nginx/nginx.conf:7
ghost-app_1? | npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" "--production"
ghost-app_1? | npm ERR! node v6.12.3
ghost-app_1? | npm ERR! npm? v3.10.10
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_db_1 exited with code 1
ghost-app_1? |
ghost-app_1? | npm ERR! enoent ENOENT: no such file or directory, open '/var/lib/ghost/package.json'
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 most likely not a problem with npm itself
ghost-app_1? | npm ERR! enoent and 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! Please include the following file with any support request:
ghost-app_1? | npm ERR!???? /var/lib/ghost/npm-debug.log
ghost_ghost-app_1 exited with code 254
ghost_nginx_1 exited with code 1

正在回答

2 回答

是不是現(xiàn)在的ghost image已經(jīng)有了啟動(dòng)命令,所以要注釋掉

0 回復(fù) 有任何疑惑可以回復(fù)我~

root@ubuntu:~/ghost# cat ghost/Dockerfile
FROM ghost
COPY ./config.js /var/lib/ghost/config.js
EXPOSE 2368
#CMD ["npm","start","--production"]

將ghost下的Dockerfile里的CMD注釋掉解決

6 回復(fù) 有任何疑惑可以回復(fù)我~
#1

learning_exe

雖然不知道為啥,但老哥你完美的解決了我的問題,nb
2018-02-06 回復(fù) 有任何疑惑可以回復(fù)我~
#2

learning_exe

能解釋下更好了
2018-02-06 回復(fù) 有任何疑惑可以回復(fù)我~
#3

edgex 回復(fù) learning_exe

知道為什么了么,我也想知道
2018-07-12 回復(fù) 有任何疑惑可以回復(fù)我~
#4

大西瓜瓜瓜瓜

你好,已經(jīng)按照你的方法解決問題了,請(qǐng)問是怎么得到這個(gè)答案的?
2019-12-22 回復(fù) 有任何疑惑可以回復(fù)我~
查看1條回復(fù)

舉報(bào)

0/150
提交
取消

執(zhí)行docker-compose up

我要回答 關(guān)注問題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)