wealthbot-io / wealthbot

Use wealthbot.io to easily setup your own wealth management platform ⛺
Other
675 stars 158 forks source link

OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "bin/console": stat bin/console: no such file or directory: unknown #145

Closed openVietAnh closed 3 years ago

openVietAnh commented 3 years ago

Hi, After running docker-compose up --build -d and docker ps, I got the following output:

CONTAINER ID   IMAGE                          COMMAND                  CREATED          STATUS          PORTS                                                             NAMES
11fac37c5c83   devenv_accounts.nginx          "nginx -g 'daemon of…"   14 seconds ago   Up 12 seconds   0.0.0.0:12001->80/tcp, :::12001->80/tcp                           devenv_accounts.nginx_1
b012ec6760c9   devenv_accounts.php            "docker-php-entrypoi…"   14 seconds ago   Up 13 seconds   9000/tcp                                                          devenv_accounts.php_1
4f7edad742c2   mysql:8.0.20                   "docker-entrypoint.s…"   16 seconds ago   Up 14 seconds   33060/tcp, 0.0.0.0:12003->3306/tcp, :::12003->3306/tcp            devenv_accounts.db_1
8af77e8a72ec   devenv_monolith.php            "docker-php-entrypoi…"   16 seconds ago   Up 13 seconds   9000/tcp                                                          devenv_monolith.php_1
388595625aad   redis:5                        "docker-entrypoint.s…"   16 seconds ago   Up 14 seconds   0.0.0.0:12004->6379/tcp, :::12004->6379/tcp                       devenv_accounts.redis_1
972b80792973   localstack/localstack:latest   "docker-entrypoint.sh"   16 seconds ago   Up 14 seconds   4571/tcp, 5678/tcp, 0.0.0.0:13001->4566/tcp, :::13001->4566/tcp   devenv_localstack_1
84248e2ba9d3   devenv_monolith.nginx          "nginx -g 'daemon of…"   16 seconds ago   Up 13 seconds   443/tcp, 0.0.0.0:10001->80/tcp, :::10001->80/tcp                  devenv_monolith.nginx_1
8262c4be346a   mysql:8.0.20                   "docker-entrypoint.s…"   16 seconds ago   Up 13 seconds   33060/tcp, 0.0.0.0:10002->3306/tcp, :::10002->3306/tcp            devenv_monolith.db_1

Now when I run docker exec -it 8af77e8a72ec bin/console doctrine:schema:create, I got the following error: OCI runtime exec failed: exec failed: container_linux.go:380: starting container process caused: exec: "bin/console": stat bin/console: no such file or directory: unknown How can I fix this error? Thanks a lot for your time.

FazalAAli commented 2 years ago

Hi, how did you resolve this? Thanks