Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./cmd install提示 C:/Program Files/Git/usr/bin/sh: no such file or directory: unknown #209

Open
hei114 opened this issue Apr 29, 2024 · 3 comments

Comments

@hei114
Copy link

hei114 commented Apr 29, 2024

./cmd install
Container dootask-mariadb-541c22 Running
Container dootask-redis-541c22 Running
Container dootask-php-541c22 Running
OCI runtime exec failed: exec failed: unable to start container process: exec: "C:/Program Files/Git/usr/bin/sh": stat C:/Program Files/Git/usr/bin/sh: no such file or directory: unknown
OCI runtime exec failed: exec failed: unable to start container process: exec: "C:/Program Files/Git/usr/bin/sh": stat C:/Program Files/Git/usr/bin/sh: no such file or directory: unknown
OCI runtime exec failed: exec failed: unable to start container process: exec: "C:/Program Files/Git/usr/bin/sh": stat C:/Program Files/Git/usr/bin/sh: no such file or directory: unknown
OCI runtime exec failed: exec failed: unable to start container process: exec: "C:/Program Files/Git/usr/bin/sh": stat C:/Program Files/Git/usr/bin/sh: no such file or directory: unknown
[错误] composer install 失败,请重试!

@hei114
Copy link
Author

hei114 commented May 9, 2024

hello,有人遇到过这种问题吗

@beardgh
Copy link

beardgh commented Jun 2, 2024

请问这个问题解决了吗?

@LiuMaoDou
Copy link

把cmd文件:
docker exec -it "$name" /bin/sh -c "$cmd"
改为
docker exec -it "$name" sh -c "$cmd"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants