报错信息
Closed this issue · 6 comments
一直报错
cc92f71d0ae9 lnmpdocker_call-websocket "/usr/bin/php /usr..." 6 seconds ago Exited (1) 4 seconds ago lnmp-call-websocket
dd5326f14d84 lnmpdocker_laravel-qrcode-websocket "/usr/bin/php /usr..." 6 seconds ago Exited (1) 4 seconds ago lnmp-laravel-qrcode-we
8df050580d40 tianon/true "/true" 7 seconds ago Exited (0) 5 seconds ago lnmp-www
浏览这个文件:laravel-qrcode-websocket/Dockerfile,发现:
CMD ["/usr/bin/php", "/usr/share/nginx/html/open.weipeiapp.com/artisan", "socket:serve"]
也就是需要在www目录下新建open.weipeiapp.com目录。你可以忽略这个错误
因为这套运行提示是基于我们实际的项目运行,所以文档还不太完善,我会再次优化文档
使用
docker ps -a
查看所有的容器信息,包括未启动的容器,然后在使用
docker logs lnmp-docker_nginx
查看错误信息
我也遇到同样的错误
Step 2/7 : COPY ./crontabs/default /var/spool/cron/crontabs/ ERROR: Service 'php-crond' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder327772964/crontabs/default: no such file or directory