ghost沒有啟動成功小伙伴可以修改ghost的Dockerfile, 注釋掉CMD
FROM ghost
COPY ./config.js /var/lib/ghost/config.production.js
EXPOSE 2368
FROM ghost
COPY ./config.js /var/lib/ghost/config.production.js
EXPOSE 2368
2019-02-09
已采納回答 / 叫我蝴蝶吧
執行下面的docker pull dockerdengs/whaleasydocker run dockerdengs/whaleasy cowsay 你好呀
2019-01-20
最新回答 / 慕萊塢9301263
services.db.environment.volumes contains ["/opt/ghost/data:/var/lib/mysql"], which is an invalid type請問這是什么原因呢
2019-01-18
已采納回答 / java_小牛
將ghost的Dockerfile文件的 COPY ?./config.js /var/lib/ghost/config.js命令 更換為COPY ?./config.js /var/lib/ghost/content/config.js;?注釋掉ghost的Dockerfile文件的 CMD ["npm", "start', "--production"] 這行自動啟動命令,應該就可以了
2019-01-17