API平台,':无此类文件或目录

时间:2019-10-26 16:15:48

标签: docker api-platform.com

我正在关注此API平台文档(https://api-platform.com/docs/distribution/),并且已经开始使用tar.gz文件。当我执行此命令

docker-compose exec php bin/console doctrine:schema:update --force

我收到此错误:

c:\work\api_platform\api-platform-2.5.0>docker-compose exec php bin/console doctrine:schema:update --force
': No such file or directory

所有系统都已启动。

c:\work\api_platform\api-platform-2.5.0>docker-compose ps
The system cannot find the path specified.
           Name                          Command               State                                                 Ports                                              
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
api-platform-250_admin_1      docker-entrypoint.sh yarn  ...   Up      0.0.0.0:81->3000/tcp                                                                             
api-platform-250_api_1        nginx -g daemon off;             Up      0.0.0.0:8080->80/tcp                                                                             
api-platform-250_client_1     docker-entrypoint.sh yarn  ...   Up      0.0.0.0:80->3000/tcp                                                                             
api-platform-250_db_1         docker-entrypoint.sh postgres    Up      0.0.0.0:5432->5432/tcp                                                                           
api-platform-250_h2-proxy_1   nginx -g daemon off;             Up      0.0.0.0:1338->1338/tcp, 0.0.0.0:443->443/tcp, 0.0.0.0:444->444/tcp, 80/tcp, 0.0.0.0:8443->8443/tcp
api-platform-250_mercure_1    ./mercure                        Up      443/tcp, 0.0.0.0:1337->80/tcp                                                                    
api-platform-250_php_1        docker-entrypoint php-fpm        Up      9000/tcp                                                          

如何解决这个问题?

0 个答案:

没有答案